diff options
| author | Éloi Rivard <azmeuk@gmail.com> | 2019-10-10 12:23:06 +0000 |
|---|---|---|
| committer | Éloi Rivard <eloi@yaal.fr> | 2020-08-28 19:12:19 +0000 |
| commit | e716e7353c2a1de163a0d0a45a5869bdf06c7eb7 (patch) | |
| tree | 8e796fc882a38556fd3e9ca0baa535a985707340 /doc | |
| parent | 33f251b6489455cd7221f2c62dee0400a69784b8 (diff) | |
[FIX] hw_escpos: support for pyusb>=1.0.0b2
This adds support for pyusb dependency after v1.0.0b2 and
brings a chance to rely upon the system pyusb package instead
of a custom pip installation.
By v1.0.0b2 the public API of the library has changed, and the
'interface' parameter from 'usb.Device.write' method has disappeared.
This patch sets or avoids this parameter depending on the pyusb version
used.
X-original-commit: 312a161cacc7a04c2934a34ffb19cbf607462e69
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
