Skip to content

Commit

Permalink
fix un-hashable error
Browse files Browse the repository at this point in the history
  • Loading branch information
will7200 committed Jul 8, 2024
1 parent dc276ea commit 8fcf046
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 8fcf046

Please sign in to comment.