Commit f13b6854 authored by Luciano Cauzzi's avatar Luciano Cauzzi

Refactor: app version

parent dbd5e235
Pipeline #66 failed with stages
from dependency_injector import containers, providers
from database.mongo_manager import AppMongoManager
from mongo_db_library.mongo_manager import AppMongoManager
class MongoManager(containers.DeclarativeContainer):
......
......@@ -28,7 +28,7 @@ class AppMongoManager:
try:
self.__db__ = MongoAlchemy(self.app)
except Exception as e:
logger.error("[DB]: database init failed -> terminating app. Bye\n{}".format(e))
logger.error("[DB]: mongo_db_library init failed -> terminating app. Bye\n{}".format(e))
exit(-1)
def get_engine(self):
......
......@@ -3,7 +3,7 @@ import setuptools
setup(
name='mongo_db_library',
version='0.1',
version='0.1.1',
packages=setuptools.find_packages(),
dependency_links=['http://github.comune.brescia.it/innovation-that-excites/logger_library#egg=logger_library'],
install_requires=['logger_library', 'dependency_injector', 'flask_mongoalchemy'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment