From 09404894dadcfbd297e3090f843766b2f305e6d4 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 2 Apr 2008 23:08:37 -0500 Subject: [PATCH] Try to read the config from etc --- config.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index 5e370b9..861bfe9 100644 --- a/config.py +++ b/config.py @@ -8,8 +8,11 @@ BLACKLIST_169 = ('540', '649') config = ConfigParser.ConfigParser() p = os.path.dirname(__file__) -config_file = os.path.join(p, 'pyTivo.conf') -config.read(config_file) +config_files = [ + '/etc/pyTivo.conf', + os.path.join(p, 'pyTivo.conf'), +] +config.read(config_files) def reset(): global config -- 2.11.4.GIT