more things

This commit is contained in:
elburg 2023-02-05 14:14:06 -08:00
parent 86ea8ba4fa
commit 462cbdac9d

View file

@ -118,10 +118,13 @@ def writeTags(file, tags):
from ..category.deviantart import makeKeyWordList from ..category.deviantart import makeKeyWordList
for item in makeKeyWordList(tags): for item in makeKeyWordList(tags):
if item not in keywords: keywords.append(item) if item not in keywords: keywords.append(item)
del makeKeyWordList
elif tags.category == 'furaffinity': elif tags.category == 'furaffinity':
from ..category.furaffinity import makeKeyWordList from ..category.furaffinity import makeKeyWordList
for item in makeKeyWordList(tags): for item in makeKeyWordList(tags):
if item not in keywords: keywords.append(item) if item not in keywords: keywords.append(item)
del makeKeyWordList
xmptags['Xmp.dc.subject'] = keywords.join(',')
del keywords