From a87daa6ef3be1e6c956f0b1266ca67f72f2597dc Mon Sep 17 00:00:00 2001 From: Silversthorn Date: Sat, 23 Mar 2024 14:32:39 +0100 Subject: [PATCH] Format with Black for lint apeasing --- app/migrations/20240310_fixing_rework_servers_uuid.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/migrations/20240310_fixing_rework_servers_uuid.py b/app/migrations/20240310_fixing_rework_servers_uuid.py index 2dd5111e..cbde833b 100644 --- a/app/migrations/20240310_fixing_rework_servers_uuid.py +++ b/app/migrations/20240310_fixing_rework_servers_uuid.py @@ -56,9 +56,11 @@ def migrate(migrator: Migrator, database, **kwargs): ) # Drop Column after migration - servers_columns = db.get_columns('servers') + servers_columns = db.get_columns("servers") if any(column_data.name == "server_uuid" for column_data in servers_columns): - Console.debug("Servers.server_uuid not deleted before Crafty version 4.3.2, skipping this part") + Console.debug( + "Servers.server_uuid not deleted before Crafty version 4.3.2, skipping this part" + ) migrator.drop_columns("servers", ["server_uuid"]) except Exception as ex: