diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-10-31 13:39:01 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-10-31 13:51:52 -0400 |
commit | d6c3aaad8af18e792ce7cfad720138dc26c782bd (patch) | |
tree | b13b847068e21545833c981be6cb5bb679d87a06 /klippy/util.py | |
parent | 85d0ef974cfcc18606c5c95c3bf4c76cc18cc22e (diff) | |
download | kutter-d6c3aaad8af18e792ce7cfad720138dc26c782bd.tar.gz kutter-d6c3aaad8af18e792ce7cfad720138dc26c782bd.tar.xz kutter-d6c3aaad8af18e792ce7cfad720138dc26c782bd.zip |
gcode: Use regular str() types for g-code commands on Python2
Avoid using unicode() types on Python2 as it can lead to subtle
errors.
Also, accept utf8 on gcode input (instead of just ascii).
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/util.py')
0 files changed, 0 insertions, 0 deletions