Skip to content

Commit

Permalink
Set the correct software version in the SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
TojikCZ committed May 14, 2024
1 parent 004797e commit e2550a9
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit e2550a9

Please sign in to comment.