Browse Source

Update sqlite3.py

MoeClub 3 years ago
parent
commit
2148453daf
1 changed files with 2 additions and 1 deletions
  1. 2 1
      sqlite3.py

+ 2 - 1
sqlite3.py

@@ -67,6 +67,7 @@ class SQLite3:
 
 if __name__ == "__main__":
     SQL = SQLite3("MoeClub.db", "MoeClub")
-    asyncio.get_event_loop().run_until_complete(SQL.Init())
+    loop = asyncio.get_event_loop()
+    loop.run_until_complete(SQL.Init())
     asyncio.run(SQL.execute("select * from MoeClub;"))