summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/pmsh_service/pmsh_service.py
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2020-02-12 23:31:16 +0000
committerefiacor <fiachra.corcoran@est.tech>2020-02-13 13:27:07 +0000
commitbc9f41ed3e67ed0350951de62331b3cd87c6aa78 (patch)
tree2d98fec426d48a3fd2bed9d01db2c9b2d50ae1ad /components/pm-subscription-handler/pmsh_service/pmsh_service.py
parent296f6a9817c28d9453fe697ae3dae6af37610eec (diff)
Fix PMHS logs dir setup
# Refactoring test|prod init Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ib073cb762a7750fca7bdf415cf5080d04f7bda51 Issue-ID: DCAEGEN2-2078
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service/pmsh_service.py')
-rwxr-xr-xcomponents/pm-subscription-handler/pmsh_service/pmsh_service.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/pm-subscription-handler/pmsh_service/pmsh_service.py b/components/pm-subscription-handler/pmsh_service/pmsh_service.py
index 99689d01..c564a5e3 100755
--- a/components/pm-subscription-handler/pmsh_service/pmsh_service.py
+++ b/components/pm-subscription-handler/pmsh_service/pmsh_service.py
@@ -20,7 +20,7 @@ import time
import mod.aai_client as aai_client
import mod.pmsh_logging as logger
-from mod import db, create_prod_app
+from mod import db, create_app
from mod.config_handler import ConfigHandler
from mod.subscription import Subscription
@@ -28,7 +28,7 @@ from mod.subscription import Subscription
def main():
try:
- app = create_prod_app()
+ app = create_app()
app.app_context().push()
db.create_all(app=app)