[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-12-21 10:07:51 +00:00
parent e8eb9df73f
commit 5ab9d149ba

View File

@ -2045,7 +2045,7 @@ def add_heat(n, costs):
# add for each retrofitting strength a generator with heat generation profile following the profile of the heat demand
for strength in strengths:
node_name = ' '.join([i for i in name.split(" ")[2::]])
node_name = " ".join([i for i in name.split(" ")[2::]])
n.madd(
"Generator",
[node],