fix mostra selezione canale in videoteca

This commit is contained in:
mac12m99
2021-03-04 20:45:56 +01:00
parent 5db2172c09
commit cd9e55da87
3 changed files with 5 additions and 5 deletions

View File

@@ -3,8 +3,7 @@
# Configuration parameters (kodi)
# ------------------------------------------------------------
# from builtins import str
import sys, os, re, xbmc, xbmcaddon
import sys, os, xbmc, xbmcaddon
PY3 = False
if sys.version_info[0] >= 3: PY3 = True; unicode = str; unichr = chr; long = int
@@ -69,6 +68,7 @@ def get_platform(full_version=False):
'plaform': (str) is made up of "kodi-" or "xbmc-" plus the version name as appropriate.
If the full_version parameter is False (default) the value of the 'plaform' key from the previous dictionary is returned.
"""
import re
ret = {}
codename = {"10": "dharma", "11": "eden", "12": "frodo",