From a2cd59d6bc9cd4273fb8be4bda733377b1f89b64 Mon Sep 17 00:00:00 2001 From: Belfagor2005 <72314956+Belfagor2005@users.noreply.github.com> Date: Sat, 28 Sep 2024 12:48:01 +0200 Subject: [PATCH] Update plugin.py --- usr/lib/enigma2/python/Plugins/Extensions/vavoo/plugin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr/lib/enigma2/python/Plugins/Extensions/vavoo/plugin.py b/usr/lib/enigma2/python/Plugins/Extensions/vavoo/plugin.py index 35217e5..6734929 100644 --- a/usr/lib/enigma2/python/Plugins/Extensions/vavoo/plugin.py +++ b/usr/lib/enigma2/python/Plugins/Extensions/vavoo/plugin.py @@ -146,7 +146,7 @@ def ensure_str(text, encoding='utf-8', errors='strict'): json_file = '/tmp/vavookey' HALIGN = RT_HALIGN_LEFT screenwidth = getDesktop(0).size() -# default_font = '' +screen_width = screenwidth.width() regexs = ']*href="([^"]+)"[^>]*>]*src="([^"]+)"[^>]*>' @@ -177,7 +177,6 @@ def trace_error(): # back global BackPath, FONTSTYPE, FNTPath # maybe no.. BackfPath = os_path.join(PLUGIN_PATH, "skin") -screen_width = screenwidth.width() if screen_width == 2560: BackPath = os_path.join(BackfPath, 'images_new') @@ -1565,7 +1564,7 @@ def convert_bouquet(service, name, url): f.write(bouquetTvString) vUtils.ReloadBouquets() except Exception as error: - print(error) + print('error as:', error) return ch