From 327c1bafd9b616b403561fd7b1baa1a5f044a7e9 Mon Sep 17 00:00:00 2001 From: Maran Date: Mon, 4 May 2015 12:20:52 +0200 Subject: [PATCH] Use TLS for LabelSync --- plugins/labels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/labels.py b/plugins/labels.py index 0bde56447..bf8e86985 100644 --- a/plugins/labels.py +++ b/plugins/labels.py @@ -25,7 +25,7 @@ from electrum_gui.qt.util import ThreadedButton, Buttons, CancelButton, OkButton class Plugin(BasePlugin): - target_host = 'sync.bysh.me:9090' + target_host = 'sync.bytesized-hosting.com:9090' encode_password = None def fullname(self): @@ -141,7 +141,7 @@ class Plugin(BasePlugin): def do_request(self, method, url = "/labels", is_batch=False, data=None): url = 'https://' + self.target_host + url - kwargs = {'headers': {}, 'verify': False} + kwargs = {'headers': {}} if method == 'GET' and data: kwargs['params'] = data elif method == 'POST' and data: