Skip to content

Commit

Permalink
fix host_name
Browse files Browse the repository at this point in the history
  • Loading branch information
l8556 committed Dec 20, 2024
1 parent 75e0089 commit eb1ba01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frameworks/host_control/host_info/HostInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def arch(self) -> str:

def name(self, pretty: bool = False) -> str:
if self.os == 'windows':
return self.os
return f"{self.os} {self.version}" if pretty else self.os
return Unix().pretty_name if pretty else Unix().id

@property
Expand Down

0 comments on commit eb1ba01

Please sign in to comment.