Fixes dependency to pinmatrix

This commit is contained in:
slush0 2014-07-18 15:40:31 +02:00 committed by m0mchil
parent f518be4346
commit 9f47762c12
1 changed files with 3 additions and 2 deletions

View File

@ -17,10 +17,11 @@ try:
import cmdtr
from trezorlib.client import types
from trezorlib.client import proto, BaseClient, ProtocolMixin
from trezorlib.pinmatrix import PinMatrixWidget
from trezorlib.qt.pinmatrix import PinMatrixWidget
from trezorlib.transport import ConnectionError
TREZOR = True
except: TREZOR = False
except ImportError:
TREZOR = False
def log(msg):
stderr.write("%s\n" % msg)