🎨 Add pyupgrade
This commit is contained in:
1 parent
cf2ce1e88b
commit
f9745515e1
33 files changed
+104
-172
No files matched your search
@@ -705,7 +705,7 @@ class VirtualPrinter(object):
|
||||
def _gcode_M114(self, data):
|
||||
# type: (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