Show More
@@ -145,8 +145,10 b' class SettingsManager:' | |||||
145 |
|
145 | |||
146 | def get_notification_usernames(self): |
|
146 | def get_notification_usernames(self): | |
147 | names = set() |
|
147 | names = set() | |
148 |
name_list = self.get_setting(SETTING_USERNAME) |
|
148 | name_list = self.get_setting(SETTING_USERNAME) | |
149 |
if name_list is not None |
|
149 | if name_list is not None: | |
|
150 | name_list = name_list.strip() | |||
|
151 | if len(name_list) > 0: | |||
150 | names = name_list.lower().split(',') |
|
152 | names = name_list.lower().split(',') | |
151 | names = set(name.strip() for name in names) |
|
153 | names = set(name.strip() for name in names) | |
152 | return names |
|
154 | return names |
General Comments 0
You need to be logged in to leave comments.
Login now