From 652e9424422aaa36a3abc2fed1c2cf965f2efee7 Mon Sep 17 00:00:00 2001 From: Yuuki Date: Thu, 2 Jan 2025 21:27:42 +0900 Subject: [PATCH] Fixed icons. --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)