From f065c699f190d5f1e655520a3ec3bcfdce405262 Mon Sep 17 00:00:00 2001 From: miruka Date: Wed, 8 May 2019 13:50:46 -0400 Subject: [PATCH] Fix default account device name --- harmonyqml/backend/client_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harmonyqml/backend/client_manager.py b/harmonyqml/backend/client_manager.py index 4a93677e..829f3f62 100644 --- a/harmonyqml/backend/client_manager.py +++ b/harmonyqml/backend/client_manager.py @@ -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