Fixing async issues

This commit is contained in:
Lucas Oskorep
2020-02-11 16:52:15 -06:00
parent 07cb03b749
commit f1d9c04a3e
7 changed files with 44 additions and 2 deletions
+2 -2
View File
@@ -62,9 +62,9 @@ class Wand(object):
"""
pass
def disconnect(self):
async def disconnect(self):
self._dev.disconnect()
await self._dev.disconnect()
self.connected = False
self.post_disconnect()