From b4ee8fccf59e82d827a99eba155d3369f848527c Mon Sep 17 00:00:00 2001 From: althausLuca <43413156+althausLuca@users.noreply.github.com> Date: Thu, 25 Jul 2024 15:52:20 +0200 Subject: [PATCH] Update run_system.py --- systems/mongodb/run_system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systems/mongodb/run_system.py b/systems/mongodb/run_system.py index a11ae8a..f9da515 100644 --- a/systems/mongodb/run_system.py +++ b/systems/mongodb/run_system.py @@ -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 @@ -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() \ No newline at end of file + client.close()