Change filename for result
This commit is contained in:
parent
b665c5d3a6
commit
ca75f9d110
|
@ -28,7 +28,7 @@ Cliquez sur votre région
|
|||
<script>
|
||||
var cy = cytoscape({
|
||||
container: document.getElementById('cy'),
|
||||
elements: $.getJSON("{{ site.baseurl }}/public/data/result.json"),
|
||||
elements: $.getJSON("{{ site.baseurl }}/public/data/channelslist.json"),
|
||||
style: [
|
||||
{
|
||||
selector: 'node',
|
||||
|
|
|
@ -15,7 +15,7 @@ La molette de la souris sert à de/zoomer
|
|||
<script>
|
||||
var cy = cytoscape({
|
||||
container: document.getElementById('cy'),
|
||||
elements: $.getJSON("{{ site.baseurl }}/public/data/result.json"),
|
||||
elements: $.getJSON("{{ site.baseurl }}/public/data/channelslist.json"),
|
||||
style: [
|
||||
{
|
||||
selector: 'node',
|
||||
|
|
1
public/data/channelslist.json
Normal file
1
public/data/channelslist.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -93,7 +93,7 @@ while True:
|
|||
break
|
||||
index += channels['count']
|
||||
|
||||
with open('./public/data/result.json', "w") as file_write:
|
||||
with open('./public/data/channelslist.json', "w") as file_write:
|
||||
json.dump(datas, file_write)
|
||||
|
||||
pprint("Nb displayed channels : " + str(nbChannels))
|
||||
|
|
Loading…
Reference in a new issue