mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-14 01:06:02 +01:00
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>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Copyright (C) 2016-2020 Kevin O'Connor <kevin@koconnor.net>
|
||||
#
|
||||
# This file may be distributed under the terms of the GNU GPLv3 license.
|
||||
import os, gc, select, math, time, logging, Queue as queue
|
||||
import os, gc, select, math, time, logging, queue
|
||||
import greenlet
|
||||
import chelper, util
|
||||
|
||||
|
||||
Reference in New Issue
Block a user