Fixed icons.
This commit is contained in:
parent
7642543796
commit
652e942442
1 changed files with 1 additions and 1 deletions
2
run.py
2
run.py
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue