Skip to content

Commit b28e141

Browse files
committed
Fix
1 parent 9da5a83 commit b28e141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiida_common_workflows/cli/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def get_code_from_list_or_database(codes, entry_point: str):
8484
if entry.default_calc_job_plugin == entry_point:
8585
return entry
8686

87-
result = QueryBuilder().append(AbstractCode, filters={'attributes.default_calc_job_plugin': entry_point}).first()
87+
result = QueryBuilder().append(AbstractCode, filters={'attributes.input_plugin': entry_point}).first()
8888

8989
if result is not None:
9090
return result[0]

0 commit comments

Comments
 (0)