From 97cd08fb8e163dadcd384e68fa4985fa75e524a6 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 11 Dec 2018 15:37:47 +0100 Subject: [PATCH] don't use : --- backup_edits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))