Skip to content

Commit

Permalink
Update plugin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Belfagor2005 committed Sep 28, 2024
1 parent 3222b38 commit a2cd59d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions usr/lib/enigma2/python/Plugins/Extensions/vavoo/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '<a[^>]*href="([^"]+)"[^>]*><img[^>]*src="([^"]+)"[^>]*>'


Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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


Expand Down

0 comments on commit a2cd59d

Please sign in to comment.