Open unnilennium opened 6 years ago
similarly if a folder path to an image contains accentuated characters it is unicode converted, but python thinks this is ascii.
you need to
python_script="import json
s = '$json' j = json.loads(s)
for url in j['result']['urls']: print(url.encode('utf-8').replace(' ', '%20')) "
if a folder to an image has space in it, pydio does not convert it to %20 using the script fails for images in this folder
solution
s = '$json' j = json.loads(s)
for url in j['result']['urls']: print(url.replace(' ', '%20')) "