KoD 1.5
-Nuova Ricerca Globale\n-Nuova Rinumerazione\n-Messaggi di Errore più chiari\n-Fix var\n
This commit is contained in:
+3
-1
@@ -8,10 +8,12 @@ import sys
|
||||
|
||||
import xbmc
|
||||
|
||||
# on kodi 18 its xbmc.translatePath, on 19 xbmcvfs.translatePath
|
||||
# functions that on kodi 19 moved to xbmcvfs
|
||||
try:
|
||||
import xbmcvfs
|
||||
xbmc.translatePath = xbmcvfs.translatePath
|
||||
xbmc.validatePath = xbmcvfs.validatePath
|
||||
xbmc.makeLegalFilename = xbmcvfs.makeLegalFilename
|
||||
except:
|
||||
pass
|
||||
from platformcode import config, logger
|
||||
|
||||
Reference in New Issue
Block a user