Skip to content

Commit

Permalink
public version
Browse files Browse the repository at this point in the history
  • Loading branch information
ondratu committed May 22, 2024
1 parent 69faa74 commit b9e8535
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 1 addition & 3 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
ChangeLog
=========
0.8.0alpha3
0.8.0 (2024-05-22)
* Send additional version headers
* Add printer dialog handling
* Stop transfers on application exit

0.8.0alpha2
* Report read timeouts differently
* Initial support for the new connect MMU API
* Add new SL types
Expand Down
10 changes: 4 additions & 6 deletions prusa/connect/printer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
)
from .util import RetryingSession, get_timestamp

__version__ = "0.8.0alpha3"
__date__ = "14 May 2024" # version date
__version__ = "0.8.0"
__date__ = "22 May 2024" # version date
__copyright__ = "(c) 2024 Prusa 3D"
__author_name__ = "Prusa Link Developers"
__author_email__ = "[email protected]"
Expand Down Expand Up @@ -150,8 +150,7 @@ def __init__(self,
self.set_printer_ready)
self.set_handler(const.Command.CANCEL_PRINTER_READY,
self.cancel_printer_ready)
self.set_handler(const.Command.DIALOG_ACTION,
self.dialog_action)
self.set_handler(const.Command.DIALOG_ACTION, self.dialog_action)

self.fs = Filesystem(sep=os.sep, event_cb=self.event_cb)
self.inotify_handler = InotifyHandler(self.fs)
Expand Down Expand Up @@ -516,8 +515,7 @@ def dialog_action(self, caller: Command) -> Dict[str, Any]:
"""Process dialog action"""
# pylint: disable=unused-argument
if not caller.kwargs:
raise ValueError(
f"{const.Command.DIALOG_ACTION} requires kwargs")
raise ValueError(f"{const.Command.DIALOG_ACTION} requires kwargs")
return {'source': const.Source.CONNECT}

def get_file_info(self, caller: Command) -> Dict[str, Any]:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
py-gcode-metadata
py-gcode-metadata>=0.2.0
requests>=2.31.0
inotify_simple~=1.3.5
mypy-extensions~=1.0.0
Expand Down

0 comments on commit b9e8535

Please sign in to comment.