diff options
| author | Shyam Sunder <sgsunder1@gmail.com> | 2019-02-11 13:47:46 -0500 |
|---|---|---|
| committer | Marcin Kurczewski <rr-@sakuya.pl> | 2019-02-11 21:28:02 +0100 |
| commit | 065a466af8726af5fe935973d33dcc93249b2e77 (patch) | |
| tree | 04bda62dfa74a24bef9baf9786c82c8022aac3d4 /server | |
| parent | 03d768881e7735b52111c1f8dcbf1f413036fc51 (diff) | |
server/func/posts: fix #221
Diffstat (limited to 'server')
| -rw-r--r-- | server/szurubooru/func/posts.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/szurubooru/func/posts.py b/server/szurubooru/func/posts.py index fe81d05..9a5307b 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( |