From 1df256734026edceefbcfb3f68315338c0bb53d7 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 30 Jul 2017 18:23:56 +0200 Subject: importerror -> systemerror --- lib/classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/classes.py') 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']) -- cgit v1.2.3-18-g5258