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 5428c1a..d7df5e1 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 ImportError: +except SystemError: 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']) |