From a6e97d87655c78e85a0fae9473924014710bc71d Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 29 Oct 2024 21:14:54 +0300 Subject: [PATCH] better print --- files/helpers/cron.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/cron.py b/files/helpers/cron.py index 930c8c421..795daa9d0 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -450,7 +450,7 @@ def _cleanup_videos(): ) for post in unpublished_drafts: if post.media_usages: - print(f'deleted videos in draft post: {post.id}', flush=True) + print(f'marked videos for deletion in draft post: {post.id}', flush=True) for media_usage in post.media_usages: if not media_usage.removed_utc: media_usage.removed_utc = time.time() @@ -458,7 +458,7 @@ def _cleanup_videos(): for comment in post.comments: if comment.media_usages: - print(f'deleted videos in draft comment: {comment.id}', flush=True) + print(f'marked videos for deletion in draft comment: {comment.id}', flush=True) for media_usage in comment.media_usages: if not media_usage.removed_utc: media_usage.removed_utc = time.time()