aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/skype/skyped.py
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/skype/skyped.py')
-rw-r--r--protocols/skype/skyped.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/skype/skyped.py b/protocols/skype/skyped.py
index c9bfc2ce..615d6835 100644
--- a/protocols/skype/skyped.py
+++ b/protocols/skype/skyped.py
@@ -335,9 +335,9 @@ class SkypeApi:
class Options:
def __init__(self):
self.cfgpath = os.path.join(os.environ['HOME'], ".skyped", "skyped.conf")
- # for backwards compatibility
+ # fall back to system-wide settings
self.syscfgpath = "/usr/local/etc/skyped/skyped.conf"
- if os.path.exists(self.syscfgpath):
+ if os.path.exists(self.syscfgpath) and not os.path.exists(self.cfgpath):
self.cfgpath = self.syscfgpath
self.daemon = True
self.debug = False