mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-15 19:08:07 +00:00
Remove required rependency to PyQt4
This commit is contained in:
parent
b3f9390ded
commit
15d8c840b5
3
cmd.py
3
cmd.py
@ -8,7 +8,6 @@ import threading
|
|||||||
from trezorlib.client import TrezorClient, pin_func
|
from trezorlib.client import TrezorClient, pin_func
|
||||||
from trezorlib.debuglink import DebugLink
|
from trezorlib.debuglink import DebugLink
|
||||||
from trezorlib.protobuf_json import pb2json
|
from trezorlib.protobuf_json import pb2json
|
||||||
from trezorlib.pinmatrix import PinMatrixWidget
|
|
||||||
|
|
||||||
def parse_args(commands):
|
def parse_args(commands):
|
||||||
parser = argparse.ArgumentParser(description='Commandline tool for Trezor devices.')
|
parser = argparse.ArgumentParser(description='Commandline tool for Trezor devices.')
|
||||||
@ -253,6 +252,8 @@ class PinMatrixThread(threading.Thread):
|
|||||||
self.pin_value = ''
|
self.pin_value = ''
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
from trezorlib.pinmatrix import PinMatrixWidget
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from PyQt4.Qt import QApplication, QWidget, QVBoxLayout
|
from PyQt4.Qt import QApplication, QWidget, QVBoxLayout
|
||||||
from PyQt4.QtGui import QPushButton, QLabel
|
from PyQt4.QtGui import QPushButton, QLabel
|
||||||
|
Loading…
Reference in New Issue
Block a user