misc python3 updates:
- use jsonrpclib-pelix - update the kivy gui - update plugins
This commit is contained in:
@@ -37,7 +37,7 @@ from electrum_gui.qt.amountedit import AmountEdit
|
||||
from electrum_gui.qt.main_window import StatusBarButton
|
||||
from electrum.i18n import _
|
||||
from electrum.plugins import hook
|
||||
from trustedcoin import TrustedCoinPlugin, server
|
||||
from .trustedcoin import TrustedCoinPlugin, server
|
||||
|
||||
|
||||
class Plugin(TrustedCoinPlugin):
|
||||
|
||||
@@ -90,11 +90,10 @@ class TrustedCoinCosignerClient(object):
|
||||
kwargs['headers']['content-type'] = 'application/json'
|
||||
url = urljoin(self.base_url, relative_url)
|
||||
if self.debug:
|
||||
print '%s %s %s' % (method, url, data)
|
||||
print('%s %s %s' % (method, url, data))
|
||||
response = requests.request(method, url, **kwargs)
|
||||
if self.debug:
|
||||
print response.text
|
||||
print
|
||||
print(response.text)
|
||||
if response.status_code != 200:
|
||||
message = str(response.text)
|
||||
if response.headers.get('content-type') == 'application/json':
|
||||
|
||||
Reference in New Issue
Block a user