Skip to content

Commit

Permalink
Merge branch 'main' into fix-timer-loop
Browse files Browse the repository at this point in the history
  • Loading branch information
s-simoncelli authored Feb 24, 2024
2 parents 731766a + e7aeebf commit d8c1dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywr_editor/model/component_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def type(self) -> str | None:
:return: The lowercase string identifying the component type.
"""
if "type" in self.props and self.props["type"]:
return self.props["type"]
return self.props["type"].lower()
return None

@property
Expand Down

0 comments on commit d8c1dd0

Please sign in to comment.