Ver Fonte

callback fixes

Hal De há 4 anos atrás
pai
commit
db9098bdcf
1 ficheiros alterados com 0 adições e 2 exclusões
  1. 0 2
      app/app.py

+ 0 - 2
app/app.py

@@ -138,9 +138,7 @@ async def reloadCallback(mngr: Manager, msg: Message):
   await refreshStatesCache()
   await refreshQueuesCache()
   await rebindLostDevices()
-  await db.connect()
   await db.execute(query='CREATE TABLE IF NOT EXISTS callback_urls (device VARCHAR(16) PRIMARY KEY, url VARCHAR(255))')
-  await db.disconnect()
 
 @manager.register_event('ExtensionStatus')
 async def extensionStatusCallback(mngr: Manager, msg: Message):