Restricted Plugins: Do not require a restricted plugin to be visible.

This commit is contained in:
Martin Gross
2022-03-01 17:27:53 +01:00
parent 6008e3d11c
commit 5d0b8c5084

View File

@@ -101,7 +101,6 @@ def restricted_plugin_kwargs():
(p.module, p.name) for p in get_all_plugins(None)
if (
not p.name.startswith('.') and
getattr(p, 'visible', True) and
getattr(p, 'restricted', False) and
not hasattr(p, 'is_available') # this means you should not really use restricted and is_available
)