trezor / python-trezor

:snake: Don't use this repo, use the new monorepo instead:
https://github.com/trezor/trezor-firmware
GNU Lesser General Public License v3.0
201 stars 194 forks source link

Fix Qt5/4 import strategy. #315

Closed jhoenicke closed 5 years ago

jhoenicke commented 5 years ago
jhoenicke commented 5 years ago

This fixes this bug with electrum:

  File "/home/hoenicke/.local/lib/python3.6/site-packages/trezorlib/qt/pinmatrix.py", line 21, in <module>
    from PyQt4.QtGui import (
ValueError: PyCapsule_GetPointer called with incorrect name
matejcik commented 5 years ago

looks good, thanks