Check for duplicates

main
Bob Mottram 2022-01-13 21:19:51 +00:00
parent 3d2072aae9
commit f49863e5d7
1 changed files with 2 additions and 1 deletions

View File

@ -227,7 +227,8 @@ def _add_newswire_dict_entry(base_dir: str, domain: str,
post_tags = get_newswire_tags(all_text, max_tags)
if podcast_properties.get('explicit'):
post_tags.append('#NSFW')
if '#NSFW' not in post_tags:
post_tags.append('#NSFW')
# Include tags from podcast categories
if podcast_properties: