From: CryptoManiac Date: Tue, 29 Mar 2016 20:17:26 +0000 (+0300) Subject: Fix type error X-Git-Tag: nvc-v0.5.8~23 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=302ad9324138eb55ffb4e78e7c726cca38b2a072 Fix type error --- diff --git a/contrib/seeds/getseeds/getseeds.py b/contrib/seeds/getseeds/getseeds.py index a0874f0..998f982 100755 --- a/contrib/seeds/getseeds/getseeds.py +++ b/contrib/seeds/getseeds/getseeds.py @@ -81,7 +81,7 @@ if b'rpcport' in contents.keys(): if b'rpclisten' in contents.keys(): rpclisten = contents[b'rpclisten'].decode() -access = AuthServiceProxy("http://"+rpcuser+":"+rpcpassword+"@"+rpclisten+":"+rpcport+"/") +access = AuthServiceProxy('http://%s:%s@%s:%d/' % (rpcuser, rpcpassword, rpclisten, int(rpcport))) for node in json.loads(data.decode()): print ('Adding', node)