diff options
author | Santo Cariotti <sancn@live.com> | 2017-07-30 18:23:56 +0200 |
---|---|---|
committer | Santo Cariotti <sancn@live.com> | 2017-07-30 18:23:56 +0200 |
commit | 1df256734026edceefbcfb3f68315338c0bb53d7 (patch) | |
tree | c899333bbb0010e70b292ffd09aa49e35d284192 | |
parent | 51dc404f1da6c4b8991fef5841d4aaa6d240cf67 (diff) |
importerror -> systemerror
-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']) |