diff options
-rw-r--r-- | lib/classes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes.py b/lib/classes.py index c4e60e7..5428c1a 100644 --- a/lib/classes.py +++ b/lib/classes.py @@ -2,7 +2,7 @@ import redis, socket, os try: from .config import config as co -except: +except ImportError: from config import config as co r = redis.Redis(host=co['host'], port=co['port'], unix_socket_path=co['unix_socket_path'], db=co['db']) |