Added an extra layer of exception handling to image retrieval.

This commit is contained in:
th3r00t
2021-07-24 11:53:12 -04:00
parent efa5c057e4
commit 8405fbed19
2 changed files with 5 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ class Server:
async def initialize_server(self):
self.config.logger.info("INITIALIZE")
self.serve = await websockets.serve(self.socketio, self.host[0], self.host[1])
await asyncio.sleep(.01)
await asyncio.sleep(.1)
self.config.logger.info("Server Initialization Complete")
async def runImport(self):