This commit is contained in:
Roy Olav Purser 2021-05-31 14:46:51 +02:00
parent 631393d4c2
commit 87943c4b03
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -67,9 +67,9 @@ class ProxyElem():
logger.info(e) logger.info(e)
if isinstance(jdata, list): if isinstance(jdata, list):
ret_data = [] ret_data = []
for i in range(len(jdata)): for src, dst in zip(urls, jdata):
if isinstance(urls[i], str): if isinstance(src, str):
ret_data.append(jdata[i]) ret_data.append(dst)
else: else:
ret_data.append(None) ret_data.append(None)
return ret_data return ret_data