diff --git a/backup_edits.py b/backup_edits.py index e476f57..71b8e78 100755 --- a/backup_edits.py +++ b/backup_edits.py @@ -30,7 +30,7 @@ if __name__ == '__main__': edit = api.getEdit(id=i['id'])['data'] if edit['status'] == 'private': continue - path = i['id'].replace(':', '\uf022').replace('/', '_').replace('|', '_') + '.json' + path = i['id'].replace(':', '_').replace('/', '_').replace('|', '_') + '.json' path = ox.decode_html(path) path = os.path.join(target, path) ox.makedirs(os.path.dirname(path))