]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 8 Feb 2025 15:01:48 +0000 (16:01 +0100)
committerRoland Häder <roland@mxchange.org>
Sat, 8 Feb 2025 15:01:48 +0000 (16:01 +0100)
- keyword "is" is to much here

daemon.py

index f2eec11d9396ed140f16bf5d1be91c3748556afb..cc268d021d7d2824ce8ebfb1c58e37517be4a199 100755 (executable)
--- a/daemon.py
+++ b/daemon.py
@@ -219,7 +219,7 @@ LIMIT ?", [
 
     result = {}
     for row in list(rows):
-        if row["reason"] is not in [None, ""]:
+        if row["reason"] not in [None, ""]:
             row["reason"] = row["reason"].replace(",", " ").replace("  ", " ")
 
         if row["block_level"] in result: