summaryrefslogtreecommitdiff
path: root/ick_controller.py
diff options
context:
space:
mode:
Diffstat (limited to 'ick_controller.py')
-rw-r--r--ick_controller.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ick_controller.py b/ick_controller.py
index 6868f86..14bc687 100644
--- a/ick_controller.py
+++ b/ick_controller.py
@@ -16,6 +16,7 @@
import logging
+import logging.handlers
import os
@@ -56,7 +57,7 @@ def load_config(filename, defconf):
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
-handler = logging.handler.SysLogHandler(address='/dev/log')
+handler = logging.handlers.SysLogHandler(address='/dev/log')
logger.addHandler(handler)
config_filename = os.environ.get('ICK_CONTROLLER_CONFIG')