aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlton MacDonald <alton.kenneth.macdonald@fokus.fraunhofer.de>2013-11-07 11:13:06 +0100
committerAlton MacDonald <alton.kenneth.macdonald@fokus.fraunhofer.de>2013-11-07 11:13:06 +0100
commit51f696bf9ab1a2b061d48ef644480efa96e4158d (patch)
tree8116e9f5189a5d94e08bda837c77280e0a97ed41
parent8dfe6f1993df8e9130190227f9562c49c6e3d6be (diff)
missing parenthesis caused scripting error
-rw-r--r--hlr_mgmt/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hlr_mgmt/__init__.py b/hlr_mgmt/__init__.py
index 915211e..c5b6350 100644
--- a/hlr_mgmt/__init__.py
+++ b/hlr_mgmt/__init__.py
@@ -91,7 +91,7 @@ def load_settings():
# mcc_mnc was obtained manually from http://mobile-network-codes.com/mobile-network-codes-country-codes.asp
# initiates SubscriberMonitor
- subMonitor = SubscriberMonitor(settings['provider'], settings['db'], port=settings['bsc_port'])
+ subMonitor = SubscriberMonitor(settings['provider'], settings['db'], ip=settings['bsc_ip'] port=settings['bsc_port'])
subMonitor.setDaemon(True)
subMonitor.start()
settings['subMonitor'] = subMonitor
@@ -101,7 +101,7 @@ def load_settings():
def main(global_config, **settings):
""" This function returns a Pyramid WSGI application.
"""
- settings = load_settings
+ settings = load_settings()
# session factory
session_factory = UnencryptedCookieSessionFactoryConfig('0p3nb5c.5ign4tur3')