From b3a199e4579c4358add4a3a309045e1011bee714 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 23 Sep 2021 10:50:27 +0200 Subject: [PATCH] piccolo fix --- platformcode/launcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformcode/launcher.py b/platformcode/launcher.py index 26a8c4db..ca612b95 100644 --- a/platformcode/launcher.py +++ b/platformcode/launcher.py @@ -156,7 +156,7 @@ def run(item=None): import xbmc item.action = item.real_action if item.page: - item.page = page + item.page = int(page) else: import re item.url = re.sub('([=/])[0-9]+(/?)$', '\g<1>' + page + '\g<2>', item.url) @@ -180,7 +180,7 @@ def run(item=None): except ImportError: exec("import " + CHANNELS + "." + item.channel + " as channel") - logger.info("Running channel %s | %s" % (channel.__name__, channel.__file__)) + logger.info("Running channel %s | %s" % (channel.__name__, channel.__file__)) # Special play action if item.action == "play":