pklaus / brother_ql

Python package for the raster language protocol of the Brother QL series label printers (QL-500, QL-550, QL-560, QL-570, QL-700, QL-710W, QL-720NW, QL-800, QL-810W, QL-820NWB, QL-1050, QL-1060N and more).
GNU General Public License v3.0
563 stars 168 forks source link

Fix `ValueError: invalid literal for int() with base 16` #158

Open h opened 4 months ago

h commented 4 months ago

The identifier() function previously returned the serial number separated with an underscore "_", whereas BrotherQLBackendPyUSB.init() expects the device_specifier to separate the serial number with a forward slash "/". This was causing the following error to be raised when a serial number is present for the printer:

ValueError: invalid literal for int() with base 16

This is fixed by PR #141 . @pklaus could you please review & merge?

FriedrichFroebel commented 4 months ago

Given the general maintenance state of this repository and the last account activity being in June 2021, I do not think that repeatedly pinging would have any real effect here.