Skip to content

Commit

Permalink
bugfix: copy/paste error in driver for USB printers
Browse files Browse the repository at this point in the history
  • Loading branch information
juergenpabel committed Feb 20, 2024
1 parent 3aab622 commit f4f26a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/printers/usb.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ def loop(self) -> bool:


def write(self, data: bytearray) -> None:
if device is not None:
device.write(1, data)
if self.device is not None:
self.device.write(1, data)

0 comments on commit f4f26a4

Please sign in to comment.