Skip to content

Commit

Permalink
fix: logical error De Morgan
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Jan 30, 2021
1 parent 1c923b8 commit c5f843e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions sugaroid/brain/wolfalpha.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,18 @@ def can_process(self, statement):
and os.getenv("WOLFRAM_ALPHA_API")
and not (
"you" in self.normalized
and "favorite" in self.normalized
and "favourite" in self.normalized
and "me" in self.normalized
and "like" in self.normalized
and "your" in self.normalized
and "what" in self.normalized
and "him" in self.normalized
and "her" in self.normalized
and "she" in self.normalized
and "he" in self.normalized
and "them" in self.normalized
and "i" in self.normalized
or "favorite" in self.normalized
or "favourite" in self.normalized
or "me" in self.normalized
or "like" in self.normalized
or "your" in self.normalized
or "what" in self.normalized
or "him" in self.normalized
or "her" in self.normalized
or "she" in self.normalized
or "he" in self.normalized
or "them" in self.normalized
or "i" in self.normalized
)
)

Expand Down

0 comments on commit c5f843e

Please sign in to comment.