summaryrefslogtreecommitdiff
path: root/ick_controller.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-10-03 14:55:07 +0000
committerLars Wirzenius <liw@liw.fi>2017-10-03 14:55:07 +0000
commitf1adad7e21a13c803ef5b16fd07dca12fdfa5ae8 (patch)
treef6d827af2f6faea1f827f1d671976ee9ef2c126f /ick_controller.py
parent1cbbd722094a214034690599440b3cd62e002e64 (diff)
downloadick2-f1adad7e21a13c803ef5b16fd07dca12fdfa5ae8.tar.gz
Fix: typo, missing import
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')