Browse Source

Update sqlite3.py

MoeClub 3 years ago
parent
commit
19f2593d34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sqlite3.py

+ 1 - 1
sqlite3.py

@@ -62,7 +62,7 @@ class SQLite3:
                 create_tbl = '''create table %s %s''' % (self.table, tbl)
                 await self.execute(create_tbl, True)
         except Exception as e:
-            if not 'already exists' in str(e):
+            if 'already exists' not in str(e):
                 print("init:", e)
 
 if __name__ == "__main__":