Skip to content

Commit

Permalink
fix: nsfw
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Aug 19, 2024
1 parent 27791d0 commit e5ab556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/contrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async def suggest_api(
summary = data.summary
original_summary = original.summary

if original.nsfw != data.nsfw is not None: # true case
if original.nsfw != (data.nsfw is not None): # true case
nsfw = not original.nsfw

if (name is None) and (summary is None) and (infobox is None) and (nsfw is None):
Expand Down

0 comments on commit e5ab556

Please sign in to comment.