rimossi cloudscraper, simplejson e torrentool, aggiornato sambatools

This commit is contained in:
marco
2020-12-26 14:37:12 +01:00
parent 483fab34df
commit e755d71127
147 changed files with 21555 additions and 17142 deletions
-1
View File
@@ -37,7 +37,6 @@ if not xbmc_vfs:
except:
samba = None
# Python 2.4 Not compatible with samba module, you have to check
# Windows is "mbcs" linux, osx, android is "utf8"
if os.name == "nt":
fs_encoding = ""
+1 -21
View File
@@ -8,27 +8,7 @@ import traceback
from platformcode import logger
from inspect import stack
try:
import json
except:
logger.error("json included in the interpreter **NOT** available")
try:
import simplejson as json
except:
logger.error("simplejson included in the interpreter **NOT** available")
try:
from lib import simplejson as json
except:
logger.error("simplejson in lib directory **NOT** available")
logger.error("A valid JSON parser was not found")
json = None
else:
logger.info("Using simplejson in the lib directory")
else:
logger.error("Using simplejson included in the interpreter")
# ~ else:
# ~ logger.info("Usando json incluido en el interprete")
import json
import sys
PY3 = False