Skip to content

Commit

Permalink
Update run_system.py
Browse files Browse the repository at this point in the history
  • Loading branch information
althausLuca authored Jul 25, 2024
1 parent 9a696ee commit b4ee8fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions systems/mongodb/run_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
try: # when adding the system dynamically to docker we need to install the library
from pymongo import MongoClient
except ImportError:
print("pymongo is not installed. Trying to installit now")
print("pymongo is not installed. Trying to install it now")
import pip
pip.main(['install', 'pymongo'])
from pymongo import MongoClient
Expand Down Expand Up @@ -250,4 +250,4 @@ def delete_data(date="2019-04-30T00:00:00", host="localhost", dataset="d1"):
db = client["db"]
collection = db[dataset]
collection.deleteMany({"time": {"$gt": date}})
client.close()
client.close()

0 comments on commit b4ee8fc

Please sign in to comment.