aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/queuelogger.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-10-01 19:30:48 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-10-04 14:36:08 -0400
commitf1747b51182cbe4d77c991492b55fd2df12b4c18 (patch)
tree3da8d0349dbc0af81b25ce9c713cb3508cf75aff /klippy/queuelogger.py
parentb8c91914b75c23bae05b29c9c0ebf2bff35a9b4a (diff)
downloadkutter-f1747b51182cbe4d77c991492b55fd2df12b4c18.tar.gz
kutter-f1747b51182cbe4d77c991492b55fd2df12b4c18.tar.xz
kutter-f1747b51182cbe4d77c991492b55fd2df12b4c18.zip
klippy: Add Python2 module wrappers and use Python3 module naming
Add wrappers for some common Python modules so that the code can run on both Python2 and Python3. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/queuelogger.py')
-rw-r--r--klippy/queuelogger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/queuelogger.py b/klippy/queuelogger.py
index 8fa98a6b..c6447f8e 100644
--- a/klippy/queuelogger.py
+++ b/klippy/queuelogger.py
@@ -3,7 +3,7 @@
# Copyright (C) 2016-2019 Kevin O'Connor <kevin@koconnor.net>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
-import logging, logging.handlers, threading, Queue as queue, time
+import logging, logging.handlers, threading, queue, time
# Class to forward all messages through a queue to a background thread
class QueueHandler(logging.Handler):