From f1747b51182cbe4d77c991492b55fd2df12b4c18 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 1 Oct 2021 19:30:48 -0400 Subject: 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 --- klippy/queuelogger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/queuelogger.py') 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 # # 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): -- cgit v1.2.3-70-g09d2