Fixed icons.

This commit is contained in:
Yuuki 2025-01-02 21:27:42 +09:00
parent 7642543796
commit 652e942442

2
run.py
View file

@ -77,7 +77,7 @@ for x in range(0, 7):
end = epg_data['programEnd']
gen = genre(epg_data['sortGenre'])
attr = epg_data['attr']
icon = 'https://tvguide.myjcom.jp/{}'.format(epg_data['imgPath']) if int(epg_data['hasImage']) == 1 else None
icon = 'https://tvguide.myjcom.jp{}'.format(epg_data['imgPath']) if int(epg_data['hasImage']) == 1 and epg_data['imgPath'] else None
guide.add_programme(channel, title, comment, start, end, gen, attr, icon)