[O] Use dumps for meta

This commit is contained in:
Hykilpikonna
2021-11-22 00:07:57 -05:00
parent f0286e0b13
commit 248ce6c7c8
+1 -1
View File
@@ -289,7 +289,7 @@ def download_users_execute(api: API, n: float, base_dir: str, rate_limit: int,
meta = {'downloaded': downloaded, 'done_set': done_set,
'current_set': current_set, 'next_set': next_set,
'n': n, 'rate_limit': rate_limit}
f.write(json_stringify(meta))
f.write(json.dumps(meta))
debug(f'Finished saving friends of {screen_name}')
debug(f'============= Total {len(downloaded)} saved =============')