mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-09-27 12:39:18 +02:00
Fix encoding issue
This commit is contained in:
parent
445be39898
commit
9e77c4231c
1 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,8 @@
|
||||||
import praw
|
import praw
|
||||||
import json
|
import json
|
||||||
|
|
||||||
outfile = open('temp_atlas.json', 'w')
|
outfile = open('temp_atlas.json', 'w', encoding='utf-8')
|
||||||
failfile = open('manual_atlas.json', 'w')
|
failfile = open('manual_atlas.json', 'w', encoding='utf-8')
|
||||||
|
|
||||||
credentials = open('credentials', 'r')
|
credentials = open('credentials', 'r')
|
||||||
client_id = credentials.readline().strip(' \t\n\r')
|
client_id = credentials.readline().strip(' \t\n\r')
|
||||||
|
@ -72,4 +72,4 @@
|
||||||
else:
|
else:
|
||||||
print("skipped "+submission.title)
|
print("skipped "+submission.title)
|
||||||
|
|
||||||
print(f"\n\nSuccess: {successcount}\nFail: {failcount}\nPlease check manual_atlas.txt for failed entries to manually resolve.")
|
print(f"\n\nSuccess: {successcount}\nFail: {failcount}\nPlease check manual_atlas.txt for failed entries to manually resolve.")
|
||||||
|
|
Loading…
Reference in a new issue