Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/charleszlu/murmur-info.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharleszlu <c4planted@gmail.com>2019-05-13 14:48:36 +0300
committercharleszlu <c4planted@gmail.com>2019-05-13 14:48:36 +0300
commit949e39aa2ae1c2006df21896e91327574b323e3e (patch)
tree693decff7348c8989c3b49c7dd9ce320192853ee
parentd110204642d209773aa3fddb82a1836a9d7144e0 (diff)
Fixed an issue with empty exclude keywords
-rw-r--r--murmur-info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/murmur-info.py b/murmur-info.py
index 3a06110..03ec717 100644
--- a/murmur-info.py
+++ b/murmur-info.py
@@ -96,7 +96,7 @@ class MurmurIce:
# also count not authenticated users (who are not excluded)
for user in self.users.values():
for keyword in self.exclude_keywords:
- if str(keyword).lower() in user.name.lower():
+ if keyword and str(keyword).lower() in user.name.lower():
self.excludedusers += 1
break
else: