From: kaliko Date: Sat, 28 Jun 2014 10:47:19 +0000 (+0200) Subject: Aesthetics changes X-Git-Tag: 0.12.2~4 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=18053c8b0d6b11136678c8a8f5fedff3058a7523;p=mpd-sima.git Aesthetics changes --- diff --git a/sima/__init__.py b/sima/__init__.py index 267899c..8d12a6f 100644 --- a/sima/__init__.py +++ b/sima/__init__.py @@ -13,7 +13,7 @@ ECH = {'apikey': 'WlRKQkhTS0JHWFVDUEZZRFA', 'version': 'v4', } -WAIT_BETWEEN_REQUESTS = timedelta(0, 2) +WAIT_BETWEEN_REQUESTS = timedelta(days=0, seconds=2) SOCKET_TIMEOUT = 6 # vim: ai ts=4 sw=4 sts=4 expandtab diff --git a/sima/utils/config.py b/sima/utils/config.py index 74c789a..786208a 100644 --- a/sima/utils/config.py +++ b/sima/utils/config.py @@ -214,8 +214,8 @@ class ConfMan(object): # CONFIG MANAGER CLASS chmod(conf_dir, 0o700) self.conf_file = join(conf_dir, CONF_FILE) else: - self.log.error('Can\'t find a suitable location for config folder (XDG_CONFIG_HOME)') - self.log.error('Please use "--config" to locate the conf file') + self.log.critical('Can\'t find a suitable location for config folder (XDG_CONFIG_HOME)') + self.log.critical('Please use "--config" to locate the conf file') sys.exit(1) ## Sima sqlite DB