1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 09:10:00 +00:00

Keep it short, keep it simple

Keep it not retarded
This commit is contained in:
TheAMM 2017-05-28 02:47:47 +03:00
parent 32fa021f34
commit 8fecc08d19

View file

@ -12,11 +12,6 @@ manager.add_command("db", MigrateCommand)
if __name__ == "__main__":
# Patch sys.argv to default to 'db'
argv_contents = sys.argv[:]
sys.argv.clear()
sys.argv.append(argv_contents[0])
sys.argv.append('db')
sys.argv.extend(argv_contents[1:])
sys.argv.insert(1, 'db')
manager.run()