Fix default account device name
This commit is contained in:
parent
7b3b886f10
commit
f065c699f1
|
@ -112,7 +112,7 @@ class ClientManager(QObject, Mapping, metaclass=_ClientManagerMeta):
|
||||||
def defaultDeviceName(self) -> str: # pylint: disable=no-self-use
|
def defaultDeviceName(self) -> str: # pylint: disable=no-self-use
|
||||||
os_ = f" on {platform.system()}".rstrip()
|
os_ = f" on {platform.system()}".rstrip()
|
||||||
os_ = f"{os_} {platform.release()}".rstrip() if os_ != " on" else ""
|
os_ = f"{os_} {platform.release()}".rstrip() if os_ != " on" else ""
|
||||||
return f"{__about__.__pretty_name__}{os}"
|
return f"{__about__.__pretty_name__}{os_}"
|
||||||
|
|
||||||
|
|
||||||
# Config file operations
|
# Config file operations
|
||||||
|
|
Loading…
Reference in New Issue
Block a user