Skip to content

Commit c268176

Browse files
committed
make nsfw flags a tag for filtering optionally
1 parent beb75e0 commit c268176

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

plugins/wyr.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ def get_wyr(headers):
3737
else:
3838
data['tags'] = []
3939

40+
if data['nsfw']:
41+
data['tags'].append('nsfw')
42+
4043
return data
4144

4245

0 commit comments

Comments
 (0)