don't use :
This commit is contained in:
parent
f66de47798
commit
97cd08fb8e
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue