aboutsummaryrefslogtreecommitdiffstats
path: root/skype/skyped.py
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2010-04-12 17:37:33 +0200
committerMiklos Vajna <vmiklos@frugalware.org>2010-04-12 17:37:33 +0200
commit7cc2c1ef13822cf37cfe82cbea03127b74d546a0 (patch)
treee031e3cb736f80c11aa0adc248b9563cfa200a5e /skype/skyped.py
parente3781b931db87a3ea03ebed6b4818cf6c7d55b98 (diff)
skyped: use os.path.expanduser for file paths in config
Requested-by: ilf <ilf@gmx.net>
Diffstat (limited to 'skype/skyped.py')
-rw-r--r--skype/skyped.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/skype/skyped.py b/skype/skyped.py
index 2e483f08..9c6a1e61 100644
--- a/skype/skyped.py
+++ b/skype/skyped.py
@@ -278,8 +278,8 @@ if __name__=='__main__':
options.config.read(options.cfgpath)
options.config.username = options.config.get('skyped', 'username').split('#')[0]
options.config.password = options.config.get('skyped', 'password').split('#')[0]
- options.config.sslkey = options.config.get('skyped', 'key').split('#')[0]
- options.config.sslcert = options.config.get('skyped', 'cert').split('#')[0]
+ options.config.sslkey = os.path.expanduser(options.config.get('skyped', 'key').split('#')[0])
+ options.config.sslcert = os.path.expanduser(options.config.get('skyped', 'cert').split('#')[0])
# hack: we have to parse the parameters first to locate the
# config file but the -p option should overwrite the value from
# the config file