ogert пре 5 година
родитељ
комит
827a6d3f09
1 измењених фајлова са 1 додато и 1 уклоњено
  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))