1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud_admin.git synced 2025-03-09 23:38:52 +00:00
This commit is contained in:
topilski 2020-02-16 13:15:58 -05:00
parent 5dcf23f66a
commit ee48d273b6
18 changed files with 117 additions and 58 deletions

View file

@ -2,7 +2,7 @@
import argparse
import os
import sys
from mongoengine import connect
from pymodm import connect
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
@ -22,7 +22,7 @@ if __name__ == '__main__':
email = argv.email
password = argv.password
mongo = connect(host=argv.mongo_uri)
mongo = connect(mongodb_uri=argv.mongo_uri)
if not mongo:
sys.exit(1)