Fix default account device name

This commit is contained in:
miruka 2019-05-08 13:50:46 -04:00
parent 7b3b886f10
commit f065c699f1

View File

@ -112,7 +112,7 @@ class ClientManager(QObject, Mapping, metaclass=_ClientManagerMeta):
def defaultDeviceName(self) -> str: # pylint: disable=no-self-use
os_ = f" on {platform.system()}".rstrip()
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