EmbedMetadata/misc/getpub.py

7 lines
197 B
Python
Raw Permalink Normal View History

def getPub(input):
if fa_category in input or input.category == 'furaffinity':
return 'Furaffinity'
elif input.category == 'deviantart':
return 'DeviantArt'
else:
return 'Unknown'