aboutsummaryrefslogtreecommitdiffstats
path: root/skype/skyped.py
diff options
context:
space:
mode:
Diffstat (limited to 'skype/skyped.py')
-rw-r--r--skype/skyped.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/skype/skyped.py b/skype/skyped.py
index 28607a05..254ff67f 100644
--- a/skype/skyped.py
+++ b/skype/skyped.py
@@ -205,7 +205,9 @@ class SkypeApi:
class Options:
def __init__(self):
- self.cfgpath = "/usr/local/etc/skyped/skyped.conf"
+ self.cfgpath = os.path.join(os.environ['HOME'], ".skyped", "skyped.conf")
+ if not os.path.exists(self.cfgpath):
+ self.cfgpath = "/usr/local/etc/skyped/skyped.conf"
self.daemon = True
self.debug = False
self.help = False