mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 14:40:00 +00:00
Keep it short, keep it simple
Keep it not retarded
This commit is contained in:
parent
32fa021f34
commit
8fecc08d19
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue