From e479d8cf69fbacc48a70c1885ebea1059ceac7e3 Mon Sep 17 00:00:00 2001 From: Clint Armstrong Date: Mon, 6 Jul 2015 10:52:59 -0400 Subject: [PATCH] change variables --- poller-service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poller-service.py b/poller-service.py index 0bdf2a08c..08d1a7754 100755 --- a/poller-service.py +++ b/poller-service.py @@ -23,10 +23,10 @@ import time import MySQLdb install_dir = os.path.dirname(os.path.realpath(__file__)) -config_file = ob_install_dir + '/config.php' +config_file = install_dir + '/config.php' def get_config_data(): - config_cmd = ['/usr/bin/env', 'php', '%s/config_to_json.php' % ob_install_dir] + config_cmd = ['/usr/bin/env', 'php', '%s/config_to_json.php' % install_dir] try: proc = subprocess.Popen(config_cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE) except: