From 901d9c77ec9e7c10c43d7ca7cd2d7b469ae508ee Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 26 Oct 2024 17:49:08 +0300 Subject: [PATCH] fix 500 error --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index dd3557e24..c65b8fe4b 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -1917,7 +1917,7 @@ def delete_media_post(v): g.db.add(media) if url.startswith(SITE_FULL_VIDEOS): - posterurl = media.poster_url + posterurl = media.posterurl if posterurl: remove_image_using_link(posterurl[0]) purge_files_in_cloudflare_cache(posterurl[0])