Changeset 7cc2c1e for skype/skyped.py


Ignore:
Timestamp:
2010-04-12T15:37:33Z (15 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
72b60c7e
Parents:
e3781b9
Message:

skyped: use os.path.expanduser for file paths in config

Requested-by: ilf <ilf@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skyped.py

    re3781b9 r7cc2c1e  
    279279        options.config.username = options.config.get('skyped', 'username').split('#')[0]
    280280        options.config.password = options.config.get('skyped', 'password').split('#')[0]
    281         options.config.sslkey = options.config.get('skyped', 'key').split('#')[0]
    282         options.config.sslcert = options.config.get('skyped', 'cert').split('#')[0]
     281        options.config.sslkey = os.path.expanduser(options.config.get('skyped', 'key').split('#')[0])
     282        options.config.sslcert = os.path.expanduser(options.config.get('skyped', 'cert').split('#')[0])
    283283        # hack: we have to parse the parameters first to locate the
    284284        # config file but the -p option should overwrite the value from
Note: See TracChangeset for help on using the changeset viewer.