From 586aeb5c086b62ec2714493ab3447158d04f5ebe Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Fri, 2 Feb 2024 17:28:07 +1300 Subject: [PATCH] alt text debug --- app/community/util.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/community/util.py b/app/community/util.py index c0eadd5c..57122abe 100644 --- a/app/community/util.py +++ b/app/community/util.py @@ -215,7 +215,6 @@ def save_post(form, post: Post): post.body_html = markdown_to_html(post.body) post.type = POST_TYPE_IMAGE alt_text = form.image_alt_text.data if form.image_alt_text.data else form.image_title.data - post.image.alt_text = alt_text uploaded_file = request.files['image_file'] if uploaded_file and uploaded_file.filename != '': if post.image_id: