Skip to content

Commit

Permalink
Fix black error
Browse files Browse the repository at this point in the history
  • Loading branch information
russss committed Jun 1, 2022
1 parent ae5bf33 commit 9414142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powerplan/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def cable_length_from_source(self, direction=None) -> Optional[Quantity]:
cable_length_from_source = ipt.cable_length_from_source()
if cable_length_from_source is None:
return None
return cable_length_from_source + sum(attrs["cable_lengths"]) * ureg('meter')
return cable_length_from_source + sum(attrs["cable_lengths"]) * ureg("meter")

def get_spec(self):
return self.plan.spec.distro.get(self.type)
Expand Down

0 comments on commit 9414142

Please sign in to comment.