Skip to content

Commit

Permalink
Fix type error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamenot committed Jan 20, 2024
1 parent 5c41b8b commit f2e292a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smarts/core/utils/sumo.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def port(self) -> Optional[int]:
return self._sumo_port

@property
def hostname(self) -> Optional[int]:
def hostname(self) -> str:
"""Get the used TraCI port."""
return self._host

Expand Down

0 comments on commit f2e292a

Please sign in to comment.