git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
277aab9
)
Fix type error
author
CryptoManiac
<balthazar@yandex.ru>
Tue, 29 Mar 2016 20:17:26 +0000 (23:17 +0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Tue, 29 Mar 2016 20:17:26 +0000 (23:17 +0300)
contrib/seeds/getseeds/getseeds.py
patch
|
blob
|
history
diff --git
a/contrib/seeds/getseeds/getseeds.py
b/contrib/seeds/getseeds/getseeds.py
index
a0874f0
..
998f982
100755
(executable)
--- 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)