Fixed "unrecognized arguments" error
This commit is contained in:
parent
5174602c31
commit
e5fad5ba92
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user