From f7e187d3bd239a02fe876c8576510f10b1186d0b Mon Sep 17 00:00:00 2001 From: sigoa Date: Mon, 19 Mar 2018 15:56:33 +0100 Subject: [PATCH] mod in case of error don't know how to fix it properly --- bitmessage_gateway.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bitmessage_gateway.py b/bitmessage_gateway.py index dc26fe5..8b928a2 100644 --- a/bitmessage_gateway.py +++ b/bitmessage_gateway.py @@ -19,6 +19,14 @@ def getBitmessageEndpoint(): password = config.getBMConfig("apipassword") host = config.getBMConfig("apiinterface") port = config.getBMConfig("apiport") + + # put the literals here if stuff don't work. you need not copy everything (*.py) into the pyBM subdirectory. + # after this mod all will work like a charm + username = "uuu" # make it match with the keys.dat file from pyBM + password = "ppp" # must match keys.dat too + host = "127.0.0.1" # + port = "8442" # + return "http://"+username+":"+password+"@"+host+":"+port+"/"