diff --git a/autoytarchive/workers.py b/autoytarchive/workers.py index 0369ccc..40f3fc0 100644 --- a/autoytarchive/workers.py +++ b/autoytarchive/workers.py @@ -126,7 +126,7 @@ async def _video_worker(): if is_late: text += ' (is late)' text += f': {video_json["title"]}' - with BytesIO(json.dumps(video_json).encode()) as file: + with BytesIO(json.dumps(video_json, indent=4).encode()) as file: file.name = video_json['id'] + '.json' file.seek(0) await client.send_file(config['config']['storage_chat_id'], file, caption=text, parse_mode=None)