fix broken trycatch causing occasional injection failures

This commit is contained in:
AAGaming
2022-11-19 19:22:30 -05:00
parent f923306a7f
commit 1e02fcf394

View File

@@ -124,7 +124,7 @@ class PluginManager:
while not tab:
try:
tab = await get_gamepadui_tab()
except client_exceptions.ClientConnectorError or client_exceptions.ServerDisconnectedError:
except (client_exceptions.ClientConnectorError, client_exceptions.ServerDisconnectedError):
if not dc:
logger.debug("Couldn't connect to debugger, waiting...")
dc = True