remove debugging.
This commit is contained in:
parent
c0d680258f
commit
7ebf1220a3
|
@ -85,7 +85,6 @@ def checkToots(config, options, retry_count=0):
|
||||||
def checkBatch(timeline, deleted_count=0):
|
def checkBatch(timeline, deleted_count=0):
|
||||||
for toot in timeline:
|
for toot in timeline:
|
||||||
if 'id' in toot and 'archive' in config:
|
if 'id' in toot and 'archive' in config:
|
||||||
print(toot)
|
|
||||||
filename = os.path.join(config['archive'], str(toot['id']) + '.json')
|
filename = os.path.join(config['archive'], str(toot['id']) + '.json')
|
||||||
with open(filename, "w") as f:
|
with open(filename, "w") as f:
|
||||||
f.write(json.dumps(toot, indent=4, default=jsondefault))
|
f.write(json.dumps(toot, indent=4, default=jsondefault))
|
||||||
|
|
Loading…
Reference in New Issue