From f1adad7e21a13c803ef5b16fd07dca12fdfa5ae8 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 3 Oct 2017 14:55:07 +0000 Subject: Fix: typo, missing import --- ick_controller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ick_controller.py') 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') -- cgit v1.2.1