Skip to content

Commit

Permalink
Black reformating
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Nov 4, 2024
1 parent 60c3c3a commit 8afeac9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions premise/electricity.py
Original file line number Diff line number Diff line change
Expand Up @@ -1561,9 +1561,9 @@ def update_efficiency_of_solar_pv(self) -> None:
# we also want to scale down the EoL dataset
if scaling_factor:
for exc in ws.technosphere(
dataset,
ws.contains("name", "treatment"),
ws.equals("unit", "kilogram"),
dataset,
ws.contains("name", "treatment"),
ws.equals("unit", "kilogram"),
):
exc["amount"] *= scaling_factor

Expand Down

0 comments on commit 8afeac9

Please sign in to comment.