mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-26 09:44:08 +01:00
commit
d9f2f17cb6
1 changed files with 3 additions and 3 deletions
|
@ -3,8 +3,8 @@
|
|||
import json
|
||||
import time
|
||||
|
||||
outfile = open('temp_atlas.json', 'w')
|
||||
failfile = open('manual_atlas.json', 'w')
|
||||
outfile = open('temp_atlas.json', 'w', encoding='utf-8')
|
||||
failfile = open('manual_atlas.json', 'w', encoding='utf-8')
|
||||
|
||||
credentials = open('credentials', 'r')
|
||||
client_id = credentials.readline().strip(' \t\n\r')
|
||||
|
@ -71,4 +71,4 @@
|
|||
print("written "+submission.id+" submitted "+str(round(time.time()-submission.created_utc))+" seconds ago")
|
||||
successcount += 1
|
||||
|
||||
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