]> kaliko git repositories - mpd-sima.git/commitdiff
Aesthetics changes
authorkaliko <kaliko@azylum.org>
Sat, 28 Jun 2014 10:47:19 +0000 (12:47 +0200)
committerkaliko <kaliko@azylum.org>
Sat, 28 Jun 2014 10:47:19 +0000 (12:47 +0200)
sima/__init__.py
sima/utils/config.py

index 267899c15336671ad4ce7285c3294d9042d4d147..8d12a6f226385ee3bd8e4d249788eac694762c3b 100644 (file)
@@ -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
index 74c789a78dfd928120cc15dd79a7264020cff2c1..786208afcc84dc870f40fa2f88cecd67609e6c41 100644 (file)
@@ -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