Skip to content

Commit 3dbcd4c

Browse files
committed
Loop over all possibilities and test if one of them is disabled
1 parent 923bd19 commit 3dbcd4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/defcon/tools/notifications.py

+1
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ def postNotification(self, notification, observable, data=None):
181181
for key in holdDisabledPossibilities:
182182
if key in self._disabled:
183183
return
184+
for key in holdDisabledPossibilities:
184185
if key in self._holds:
185186
n = (notification, observableRef, data)
186187
if n not in self._holds[key]["notifications"]:

0 commit comments

Comments
 (0)