Fixed potential undefined variable

This commit is contained in:
Mark Qvist 2022-06-11 13:42:08 +02:00
parent d7262c7cbe
commit 6b06875c42

View File

@ -147,6 +147,7 @@ class ServerTunnel(I2PTunnel):
except Exception as e: except Exception as e:
self.status["exception"] = e self.status["exception"] = e
self.status["setup_failed"] = True self.status["setup_failed"] = True
data = None
try: try:
sc_task = asyncio.wait_for( sc_task = asyncio.wait_for(