Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the correct software version in the SDK #962

Merged
merged 1 commit into from
May 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions prusa/link/printer_adapter/prusa_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from prusa.connect.printer.files import File
from prusa.connect.printer.models import Sheet as SDKSheet

from .. import __version__
from ..camera_governor import CameraGovernor
from ..cameras.picamera_driver import PiCameraDriver
from ..cameras.v4l2_driver import V4L2Driver
Expand Down Expand Up @@ -167,6 +168,7 @@ def __init__(self, cfg: Config, settings: Settings) -> None:
self.keepalive.set_use_connect(self.settings.use_connect())

self.printer = MyPrinter()
self.printer.software = __version__

drivers: List[Type[CameraDriver]] = [V4L2Driver]
if PiCameraDriver.supported:
Expand Down
Loading