don't use :

This commit is contained in:
j 2018-12-11 15:37:47 +01:00
parent f66de47798
commit 97cd08fb8e

View file

@ -30,7 +30,7 @@ if __name__ == '__main__':
edit = api.getEdit(id=i['id'])['data'] edit = api.getEdit(id=i['id'])['data']
if edit['status'] == 'private': if edit['status'] == 'private':
continue continue
path = i['id'].replace(':', '\uf022').replace('/', '_').replace('|', '_') + '.json' path = i['id'].replace(':', '_').replace('/', '_').replace('|', '_') + '.json'
path = ox.decode_html(path) path = ox.decode_html(path)
path = os.path.join(target, path) path = os.path.join(target, path)
ox.makedirs(os.path.dirname(path)) ox.makedirs(os.path.dirname(path))