fix flake8 E711 (comparison-to-none)

This commit is contained in:
Pavol Rusnak
2023-01-30 11:46:44 +00:00
parent eba7319808
commit 86e8a3a315
9 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ async def run_migration(db: Connection, migrations_module: Any, current_version:
print(f"running migration {db_name}.{version}")
await migrate(db)
if db.schema == None:
if db.schema is None:
await update_migration_version(db, db_name, version)
else:
async with core_db.connect() as conn: