diff options
author | charleszlu <c4planted@gmail.com> | 2019-05-13 14:48:36 +0300 |
---|---|---|
committer | charleszlu <c4planted@gmail.com> | 2019-05-13 14:48:36 +0300 |
commit | 949e39aa2ae1c2006df21896e91327574b323e3e (patch) | |
tree | 693decff7348c8989c3b49c7dd9ce320192853ee | |
parent | d110204642d209773aa3fddb82a1836a9d7144e0 (diff) |
Fixed an issue with empty exclude keywords
-rw-r--r-- | murmur-info.py | 2 |
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: |