commit 327c1bafd9b616b403561fd7b1baa1a5f044a7e9
parent 0a1c8f5546e403ca8812ee55802fbea126fb340c
Author: Maran <maran.hidskes@gmail.com>
Date: Mon, 4 May 2015 12:20:52 +0200
Use TLS for LabelSync
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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: