mirror of
https://github.com/LaQuay/TDTChannels.git
synced 2025-06-06 04:04:43 +02:00
fix web
This commit is contained in:
parent
ba7270e3be
commit
341060490e
4 changed files with 15 additions and 15 deletions
script
|
@ -148,12 +148,12 @@ andorra.add_ambit(Ambito("Andorra", get_radio_channels_from_part(canales_andorra
|
|||
|
||||
# Save data to JSON file
|
||||
json_result = {"license": get_license_info(),
|
||||
"epg_url": None,
|
||||
"countries": [spain.to_json(),
|
||||
international.to_json(),
|
||||
andorra.to_json()],
|
||||
"updated": get_current_timestamp()
|
||||
}
|
||||
"epg_url": None,
|
||||
"countries": [spain.to_json(),
|
||||
international.to_json(),
|
||||
andorra.to_json()],
|
||||
"updated": get_current_timestamp()
|
||||
}
|
||||
json_file = open('./public/output/radio_channels.json', "w+")
|
||||
json_file.write(json.dumps(json_result, indent=4, sort_keys=False))
|
||||
json_file.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue