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,7 +93,7 @@ while True:
break break
index += channels['count'] 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) json.dump(datas, file_write)
pprint("Nb displayed channels : " + str(nbChannels)) pprint("Nb displayed channels : " + str(nbChannels))