Merge pull request #3981 from eumiro/py36plus
🚀 Modernize the code to Python 3.6+
This commit is contained in:
39 files changed
+93
-111
No files matched your search
@@ -663,7 +663,7 @@ class VirtualPrinter:
|
||||
# noinspection PyUnusedLocal
|
||||
def _gcode_M114(self, data: str) -> bool:
|
||||
m114FormatString = self._settings.get(["m114FormatString"])
|
||||
e = dict((index, value) for index, value in enumerate(self._lastE))
|
||||
e = {index: value for index, value in enumerate(self._lastE)}
|
||||
e["current"] = self._lastE[self.currentExtruder]
|
||||
e["all"] = " ".join(
|
||||
[
|
||||
|
||||
Reference in new issue
Block a user