fixed condition for loading whitelisted callbacks
This commit is contained in:
parent
dc83c0e3f3
commit
7416e00541
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class TaskQueueManager:
|
|||
if callback_name != stdout_callback or stdout_callback_loaded:
|
||||
continue
|
||||
stdout_callback_loaded = True
|
||||
elif C.DEFAULT_CALLBACK_WHITELIST is not None and callback_name not in C.DEFAULT_CALLBACK_WHITELIST:
|
||||
elif C.DEFAULT_CALLBACK_WHITELIST is None or callback_name not in C.DEFAULT_CALLBACK_WHITELIST:
|
||||
continue
|
||||
|
||||
loaded_plugins.append(callback_plugin(self._display))
|
||||
|
|
Loading…
Reference in a new issue