Changeset 1a575f69


Ignore:
Timestamp:
2009-08-31T17:06:46Z (15 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
398eb78
Parents:
ab165c5
Message:

skyped: let the error message suggest placing the config file under ~/.skyped

so the new error message will be like:

$ python skyped.py -d -n
Can't find configuration file at '/home/vmiklos/.skyped/skyped.conf'.
Use the -c option to specify an alternate one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skyped.py

    rab165c5 r1a575f69  
    210210        def __init__(self):
    211211                self.cfgpath = os.path.join(os.environ['HOME'], ".skyped", "skyped.conf")
    212                 if not os.path.exists(self.cfgpath):
    213                         self.cfgpath = "/usr/local/etc/skyped/skyped.conf"
     212                # for backwards compatibility
     213                self.syscfgpath = "/usr/local/etc/skyped/skyped.conf"
     214                if os.path.exists(self.syscfgpath):
     215                        self.cfgpath = self.syscfgpath
    214216                self.daemon = True
    215217                self.debug = False
Note: See TracChangeset for help on using the changeset viewer.