ogert 5 rokov pred
rodič
commit
827a6d3f09
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      cdplib/db_handlers/MongodbHandler.py

+ 1 - 1
cdplib/db_handlers/MongodbHandler.py

@@ -111,7 +111,7 @@ class MongodbHandler:
         try:
             return_message = self._database.drop_collection(collection_name)
             if 'errmsg' in return_message:
-                self._log.warning(('Couldnt drop the collection {}. Error: {}').format(collection_name, return_message['errmsg'])
+                self._log.warning(('Couldnt drop the collection {}. Error: {}').format(collection_name, return_message['errmsg']))
         except Exception as error:
             self._log.log_and_raise_error(('Couldnt drop the collection {}. Error: {}').format(collection_name, error))