Change path to generate channelslist.json

This commit is contained in:
VEAUDOUR mickael 2019-06-05 10:30:55 +02:00 committed by GitHub
parent 6019b22772
commit 89b5863f62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,9 +93,9 @@ while True:
break
index += channels['count']
with open('./public/data/channelslist.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))
pprint("Nb cohorte channels : " + str(nbCohorte))
pprint("Nb total channels : " + str(totalChannels))
pprint("Nb total channels : " + str(totalChannels))