misc python3 updates:
- use jsonrpclib-pelix - update the kivy gui - update plugins
This commit is contained in:
@@ -225,7 +225,7 @@ class LedgerAuthDialog(QDialog):
|
||||
try:
|
||||
mode = self.dongle.exchange( bytearray(apdu) )
|
||||
return mode
|
||||
except BTChipException, e:
|
||||
except BTChipException as e:
|
||||
debug_msg('Device getMode Failed')
|
||||
return 0x11
|
||||
|
||||
@@ -274,7 +274,7 @@ class LedgerWebSocket(QThread):
|
||||
challenge = self.dongle.exchange( bytearray(apdu) )
|
||||
ws.send( '{"type":"challenge","data":"%s" }' % str(challenge).encode('hex') )
|
||||
self.data = data
|
||||
except BTChipException, e:
|
||||
except BTChipException as e:
|
||||
debug_msg('Identify Failed')
|
||||
|
||||
if data['type'] == 'challenge':
|
||||
@@ -287,7 +287,7 @@ class LedgerWebSocket(QThread):
|
||||
ws.send( '{"type":"pairing","is_successful":"true"}' )
|
||||
self.data['pairid'] = self.pairID
|
||||
self.pairing_done.emit(self.data)
|
||||
except BTChipException, e:
|
||||
except BTChipException as e:
|
||||
debug_msg('Pairing Failed')
|
||||
ws.send( '{"type":"pairing","is_successful":"false"}' )
|
||||
self.pairing_done.emit(None)
|
||||
|
||||
Reference in New Issue
Block a user