blob: bd6f704d42aa8f26cb0b474a8fc45ed0c6ee8561 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff --git a/src/automx/config.py b/src/automx/config.py
index 4839b17..0d77595 100644
--- a/src/automx/config.py
+++ b/src/automx/config.py
@@ -849,6 +849,9 @@ class Memcache(object):
except ValueError, e:
logging.warning("Memcache misconfigured: ", e)
self.__has_memcache = False
+ except NoOptionError:
+ logging.warning("Not using Memcache")
+ self.__has_memcache = False
def counter(self):
return self.__current
|