Skip to content

Commit

Permalink
int compare is hard
Browse files Browse the repository at this point in the history
  • Loading branch information
lugipfupf committed May 1, 2024
1 parent 67ce02d commit 4ddb1f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion happyMirror/widgets/quote/quote.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, alt_config=None) -> None:
self.config = self.__check_config()

def next(self, category=None):
if len(self.config.api_key) is not 40:
if len(self.config.api_key) != 40:
return [{
"quote": "NO API KEY SET IN CONFIG FILE",
"author": "'Quote' widget",
Expand Down

0 comments on commit 4ddb1f4

Please sign in to comment.