Skip to content

Commit

Permalink
Fix flake8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Sep 14, 2023
1 parent a528398 commit 81590fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etrago/cluster/electrical.py
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ def run_spatial_clustering(self):
)
self.update_busmap(busmap)

if self.args["disaggregation"] != None:
if self.args["disaggregation"] is not None:
self.disaggregated_network = self.network.copy()
else:
self.disaggregated_network = self.network.copy(with_time=False)
Expand Down

0 comments on commit 81590fb

Please sign in to comment.