We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d20a86 commit 2b5f07aCopy full SHA for 2b5f07a
nc_py_api/apps.py
@@ -109,4 +109,4 @@ def ex_app_is_disabled(self, app_id: str) -> bool:
109
"""Returns ``True`` if specified external application is disabled."""
110
if not app_id:
111
raise ValueError("`app_id` parameter can not be empty")
112
- return app_id in [i.app_id for i in self.ex_app_get_list(True) if not i.enabled]
+ return app_id not in [i.app_id for i in self.ex_app_get_list(True)]
0 commit comments