Commit 03af516 1 parent c00285b commit 03af516 Copy full SHA for 03af516
File tree 2 files changed +3
-2
lines changed
octoprint_bambu_printer/printer
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -580,8 +580,9 @@ def _cancel_print(self):
580
580
581
581
def report_print_job_status (self ):
582
582
if self .current_print_job is not None :
583
+ file_position = 1 if self .current_print_job .file_position == 0 else self .current_print_job .file_position
583
584
self .sendIO (
584
- f"SD printing byte { self . current_print_job . file_position } "
585
+ f"SD printing byte { file_position } "
585
586
f"/{ self .current_print_job .file_info .size } "
586
587
)
587
588
else :
Original file line number Diff line number Diff line change 14
14
plugin_name = "OctoPrint-BambuPrinter"
15
15
16
16
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
17
- plugin_version = "0.1.5 "
17
+ plugin_version = "0.1.6 "
18
18
19
19
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
20
20
# module
You can’t perform that action at this time.
0 commit comments