Skip to content

Commit f7b6c7e

Browse files
committed
Fix conda prefix handling.
1 parent ef4b9f4 commit f7b6c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

planemo/galaxy/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ def add_attribute(key, value):
11531153
for key, default_value in iteritems(dependency_attribute_kwds):
11541154
value = kwds.get(key, default_value)
11551155
if value != default_value:
1156-
conda_prefix_specified = value == "conda_prefix"
1156+
conda_prefix_specified = key == "conda_prefix"
11571157
# Strip leading prefix (conda_) off attributes
11581158
attribute_key = "_".join(key.split("_")[1:])
11591159
add_attribute(attribute_key, value)

0 commit comments

Comments
 (0)