fix contributor tag category
This commit is contained in:
parent
adbb2d532b
commit
87c717ebe8
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,7 @@ class Post:
|
||||||
class TagCategory(enum.IntEnum):
|
class TagCategory(enum.IntEnum):
|
||||||
GENERAL = 0
|
GENERAL = 0
|
||||||
ARTIST = 1
|
ARTIST = 1
|
||||||
|
CONTRIBUTOR = 2
|
||||||
COPYRIGHT = 3
|
COPYRIGHT = 3
|
||||||
CHARACTER = 4
|
CHARACTER = 4
|
||||||
SPECIES = 5
|
SPECIES = 5
|
||||||
|
@ -108,6 +109,7 @@ class TagCategory(enum.IntEnum):
|
||||||
return {
|
return {
|
||||||
self.GENERAL: "general",
|
self.GENERAL: "general",
|
||||||
self.ARTIST: "artist",
|
self.ARTIST: "artist",
|
||||||
|
self.CONTRIBUTOR: "contributor",
|
||||||
self.COPYRIGHT: "copyright",
|
self.COPYRIGHT: "copyright",
|
||||||
self.CHARACTER: "character",
|
self.CHARACTER: "character",
|
||||||
self.METADATA: "meta",
|
self.METADATA: "meta",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue