Commit 7f1ae5a 1 parent 5754e81 commit 7f1ae5a Copy full SHA for 7f1ae5a
File tree 4 files changed +10
-3
lines changed
octoprint_bambu_printer/printer/states
4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
from __future__ import annotations
2
- from pathlib import Path
3
2
4
3
from octoprint_bambu_printer .printer .file_system .file_info import FileInfo
5
- from octoprint_bambu_printer .printer .print_job import PrintJob
6
4
from octoprint_bambu_printer .printer .states .a_printer_state import APrinterState
7
5
8
6
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class PrintingState(APrinterState):
22
22
23
23
def __init__ (self , printer : BambuVirtualPrinter ) -> None :
24
24
super ().__init__ (printer )
25
+ self ._current_print_job = None
25
26
self ._is_printing = False
26
27
self ._sd_printing_thread = None
27
28
@@ -36,6 +37,7 @@ def finalize(self):
36
37
self ._is_printing = False
37
38
self ._sd_printing_thread .join ()
38
39
self ._sd_printing_thread = None
40
+ self ._printer .current_print_job = None
39
41
40
42
def _start_worker_thread (self ):
41
43
if self ._sd_printing_thread is None :
Original file line number Diff line number Diff line change 7
7
###
8
8
9
9
.
10
+
11
+ pytest ~= 7.4.4
12
+ pybambu ~= 1.0.1
13
+ OctoPrint ~= 1.10.2
14
+ setuptools ~= 70.0.0
15
+ pyserial ~= 3.5
16
+ Flask ~= 2.2.5
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.3 "
17
+ plugin_version = "0.1.4 "
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