Skip to content

Commit

Permalink
Make flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulScheerRLI committed Sep 17, 2024
1 parent c4cebcd commit 61dd12b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion simba/costs.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ def set_electricity_costs(self):
default_cost_strategy = vars(self.args)["strategy_" + station.get("type")]

cost_strategy_name = "cost_calculation_strategy_" + station.get("type")
cost_calculation_strategy = vars(self.args).get(cost_strategy_name) or default_cost_strategy
cost_calculation_strategy = (vars(self.args).get(cost_strategy_name)
or default_cost_strategy)

# calculate costs for electricity
try:
Expand Down

0 comments on commit 61dd12b

Please sign in to comment.