Merge pull request #3981 from eumiro/py36plus

🚀 Modernize the code to Python 3.6+
This commit is contained in:
Gina Häußge authored and GitHub committed 2021-01-26 10:53:45 +01:00
commit 5e620bcdfe
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(
[