From 4ddb1f49b1f204e7c1303593068abaa0b5a55ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20Luginb=C3=BChl?= Date: Wed, 1 May 2024 23:47:09 +0200 Subject: [PATCH] int compare is hard --- happyMirror/widgets/quote/quote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/happyMirror/widgets/quote/quote.py b/happyMirror/widgets/quote/quote.py index 27f772d..8dad615 100644 --- a/happyMirror/widgets/quote/quote.py +++ b/happyMirror/widgets/quote/quote.py @@ -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",