migliorie a proxytranslate, possibile fix tests

This commit is contained in:
mac12m99
2021-01-25 23:06:41 +01:00
parent 342d36fa78
commit af0a83b5cf
5 changed files with 13 additions and 10 deletions

View File

@@ -180,8 +180,6 @@ for chItem in channel_list:
itemlist = getattr(module, it.action)(it)
menuItemlist[it.title] = itemlist
logMenu[it.title] = logger.recordedLog
logger.recordedLog = ''
# some sites might have no link inside, but if all results are without servers, there's something wrong
for resIt in itemlist:
@@ -207,8 +205,9 @@ for chItem in channel_list:
except:
import traceback
logger.error(traceback.format_exc())
logMenu[it.title] = logger.recordedLog
logger.recordedLog = ''
logMenu[it.title] = logger.recordedLog
logger.recordedLog = ''
results.append(
{'ch': ch, 'hasChannelConfig': hasChannelConfig, 'mainlist': [it.title for it in mainlist],