diff --git a/run.py b/run.py index 904ebde..d7f434d 100644 --- a/run.py +++ b/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)