From 18053c8b0d6b11136678c8a8f5fedff3058a7523 Mon Sep 17 00:00:00 2001 From: kaliko Date: Sat, 28 Jun 2014 12:47:19 +0200 Subject: [PATCH] Aesthetics changes --- sima/__init__.py | 2 +- sima/utils/config.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2