From 51dc404f1da6c4b8991fef5841d4aaa6d240cf67 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 30 Jul 2017 10:30:19 +0200 Subject: specified error (ImportError) --- lib/classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) -- cgit v1.2.3-18-g5258