Skip to content

Commit 6d30789

Browse files
committed
update(util): simplify condition
1 parent b07b25c commit 6d30789

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

profile_manager/profiles/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def get_profile_plugin_information(
180180
profile_name=profile_name, plugin_slug_name=plugin_slug_name
181181
)
182182

183-
if not all([manager_metadata, plugin_metadata]):
183+
if manager_metadata is None and plugin_metadata is None:
184184
print(f"Plugin {plugin_slug_name} not found in profile {profile_name}")
185185
return None
186186

0 commit comments

Comments
 (0)