Pulizia di codice vecchio, piccole migliorie

This commit is contained in:
mac12m99
2021-03-17 18:33:56 +01:00
parent eeeacffed5
commit dce5d75b99
5 changed files with 7 additions and 41 deletions
+2 -1
View File
@@ -417,6 +417,8 @@ def findvideos(item):
all_videolibrary = []
ch_results = []
list_servers = []
with futures.ThreadPoolExecutor() as executor:
for nom_canal, json_path in list(list_canales.items()):
if filtro_canal and filtro_canal != nom_canal.capitalize():
@@ -476,7 +478,6 @@ def findvideos(item):
del item.library_urls[nom_canal]
item_json = Item().fromjson(filetools.read(json_path))
list_servers = []
# support.dbg()
try: from urllib.parse import urlsplit
except ImportError: from urlparse import urlsplit