mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'nurupo-tox-bootstrapd-get-nodes-fix'
This commit is contained in:
commit
bf7a7ef4b6
|
@ -31,7 +31,7 @@ response = urllib.request.urlopen('https://nodes.tox.chat/json')
|
|||
raw_json = response.read().decode('ascii', 'ignore')
|
||||
nodes = json.loads(raw_json)['nodes']
|
||||
|
||||
output = 'bootstrap_nodes = ('
|
||||
output = 'bootstrap_nodes = (\n'
|
||||
|
||||
for node in nodes:
|
||||
node_output = ' { // ' + node['maintainer'] + '\n'
|
||||
|
|
Loading…
Reference in New Issue
Block a user