fix-bson
This commit is contained in:
parent
9bb8751d03
commit
6268e3f2c7
|
@ -93,6 +93,11 @@ if __name__ == "__main__":
|
||||||
print("MODE: MIGRATE")
|
print("MODE: MIGRATE")
|
||||||
|
|
||||||
migrate()
|
migrate()
|
||||||
|
elif x == "bson":
|
||||||
|
from migration.bson2json import json_tables
|
||||||
|
print("MODE: BSON")
|
||||||
|
|
||||||
|
json_tables()
|
||||||
else:
|
else:
|
||||||
sys.excepthook = exception_handler
|
sys.excepthook = exception_handler
|
||||||
uvicorn.run(
|
uvicorn.run(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user