mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-11-15 22:43:13 +01:00
Fix trailing comma removal
This commit is contained in:
parent
33bda5f364
commit
4c4fb973f3
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@
|
|||
print("written "+submission.id+", submitted "+str(round(time.time()-submission.created_utc))+" seconds ago")
|
||||
totalcount += 1
|
||||
|
||||
# Remove ,\n
|
||||
outfile.seek(outfile.tell()-4, os.SEEK_SET)
|
||||
# Remove last trailing comma
|
||||
outfile.seek(outfile.tell()-3, os.SEEK_SET)
|
||||
outfile.truncate()
|
||||
|
||||
outfile.write("\n]")
|
||||
|
|
Loading…
Reference in a new issue