From 393e6f3306cc7a63ec742be3486678a42b8e961a Mon Sep 17 00:00:00 2001 From: Uriziel Date: Thu, 21 Jun 2012 15:32:12 +0200 Subject: [PATCH] Fixed config file location --- common_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common_functions.py b/common_functions.py index 0770730..566ce7b 100644 --- a/common_functions.py +++ b/common_functions.py @@ -22,7 +22,7 @@ def get_configuration(): args = parser.parse_args() config = ConfigParser.RawConfigParser(allow_no_value=True) - config.read('syncplay.ini') + config.read(os.path.join(os.path.dirname(__file__), 'syncplay.ini')) try: if(args.host == None): host = config.get('sync', 'host')