fix contributor tag category

This commit is contained in:
Luna 2025-05-01 14:51:43 -03:00
parent adbb2d532b
commit 87c717ebe8

View file

@ -97,6 +97,7 @@ class Post:
class TagCategory(enum.IntEnum):
GENERAL = 0
ARTIST = 1
CONTRIBUTOR = 2
COPYRIGHT = 3
CHARACTER = 4
SPECIES = 5
@ -108,6 +109,7 @@ class TagCategory(enum.IntEnum):
return {
self.GENERAL: "general",
self.ARTIST: "artist",
self.CONTRIBUTOR: "contributor",
self.COPYRIGHT: "copyright",
self.CHARACTER: "character",
self.METADATA: "meta",