From 3f447ae0d349e1f6007397a55f4001eb114f73c1 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 2 Apr 2020 12:06:05 +0200 Subject: [PATCH] Piccolo fix support.menu e menu cb01 --- channels/cineblog01.py | 2 +- core/support.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/cineblog01.py b/channels/cineblog01.py index a97d4602..98cb0c8d 100644 --- a/channels/cineblog01.py +++ b/channels/cineblog01.py @@ -47,7 +47,7 @@ def mainlist(item): ('Ultime Aggiornate', ['/serietv/', 'peliculas', 'newest']) ] docu = [('Documentari bullet bold', ['/category/documentario/', 'peliculas']), - ('HD submenu', ['category/hd-alta-definizione/documentario-hd/', 'peliculas']) + ('HD submenu {documentari}', ['category/hd-alta-definizione/documentario-hd/', 'peliculas']) ] return locals() diff --git a/core/support.py b/core/support.py index 52a9bafb..b05580eb 100755 --- a/core/support.py +++ b/core/support.py @@ -689,7 +689,7 @@ def menu(func): if dictUrl[name] is not None and type(dictUrl[name]) is not str: for sub, var in dictUrl[name]: menuItem(itemlist, filename, - title = sub + ' submenu' + typo(title,'_ {}'), + title = sub + ' submenu {' + title + '}', url = host + var[0] if len(var) > 0 else '', action = var[1] if len(var) > 1 else 'peliculas', args=var[2] if len(var) > 2 else '',