File tree 2 files changed +5
-4
lines changed
octoprint_SpoolManager/api
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -322,10 +322,11 @@ def allowed_to_print(self):
322
322
"spoolName" : spoolModel .displayName if spoolModel else '(no spool selected)' ,
323
323
"material" : spoolModel .material if spoolModel else '' ,
324
324
"remainingWeight" : spoolModel .remainingWeight if spoolModel else '' ,
325
- "toolOffset" : spoolModel .offsetTemperature if spoolModel . offsetTemperature is not None else 0 ,
326
- "bedOffset" : spoolModel .offsetBedTemperature if spoolModel . offsetBedTemperature is not None else 0 ,
327
- "enclosureOffset" : spoolModel .offsetEnclosureTemperature if spoolModel . offsetEnclosureTemperature is not None else 0
325
+ "toolOffset" : spoolModel .offsetTemperature if spoolModel else '' ,
326
+ "bedOffset" : spoolModel .offsetBedTemperature if spoolModel else '' ,
327
+ "enclosureOffset" : spoolModel .offsetEnclosureTemperature if spoolModel else ''
328
328
}
329
+
329
330
if spoolModel is not None :
330
331
if not self .checkRemainingFilament (toolIndex ):
331
332
result ['filamentNotEnough' ].append (infoData )
Original file line number Diff line number Diff line change 15
15
16
16
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
17
17
#
18
- plugin_version = "1.4.2 "
18
+ plugin_version = "1.4.3 "
19
19
20
20
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
21
21
# module
You can’t perform that action at this time.
0 commit comments