Skip to content

Commit

Permalink
Merge pull request #176 from will7200/fix/exception
Browse files Browse the repository at this point in the history
fix un-hashable error
  • Loading branch information
cmutel authored Jul 23, 2024
2 parents dc276ea + 8fcf046 commit 75492fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bw2data/method.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def process_row(self, row):
except UnknownObject:
raise UnknownObject(
"Can't find flow `{}`, specified in CF row `{}` for method `{}`".format(
{row[0]}, row, self.name
{tuple(row[0]) if isinstance(row[0], list) else row[0]}, row, self.name
)
)
except KeyError:
Expand Down

0 comments on commit 75492fb

Please sign in to comment.