From 065a466af8726af5fe935973d33dcc93249b2e77 Mon Sep 17 00:00:00 2001 From: Shyam Sunder Date: Mon, 11 Feb 2019 13:47:46 -0500 Subject: [PATCH] server/func/posts: fix #221 --- server/szurubooru/func/posts.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/szurubooru/func/posts.py b/server/szurubooru/func/posts.py index fe81d05d..9a5307b8 100644 --- a/server/szurubooru/func/posts.py +++ b/server/szurubooru/func/posts.py @@ -439,9 +439,7 @@ def generate_alternate_formats(post: model.Post, content: bytes) \ assert content new_posts = [] if mime.is_animated_gif(content): - tag_names = [ - tag_name.name - for tag_name in [tag.names for tag in post.tags]] + tag_names = [tag.first_name for tag in post.tags] if config.config['convert']['gif']['to_mp4']: mp4_post, new_tags = create_post(