Fixed "unrecognized arguments" error

This commit is contained in:
Profitroll 2023-11-25 18:14:30 +01:00
parent 5174602c31
commit e5fad5ba92
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -37,7 +37,7 @@ parser = ArgumentParser(
parser.add_argument("--migrate", action="store_true") parser.add_argument("--migrate", action="store_true")
args = parser.parse_args() args, unknown = parser.parse_known_args()
if args.migrate: if args.migrate:
migrate_database() migrate_database()