MoeClub 3 лет назад
Родитель
Сommit
19f2593d34
1 измененных файлов с 1 добавлено и 1 удалено
  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__":