fix _tidy_name() comment

This commit is contained in:
Damien Elmes 2020-02-28 17:14:47 +10:00
parent 0810d9d5e0
commit 749541226e

View file

@ -511,7 +511,7 @@ if isWin:
self._terminate_flag = False
def _tidy_name(self, name: str) -> str:
"eg. Microsoft Haruka Desktop -> Microsoft-Haruka."
"eg. Microsoft Haruka Desktop -> Microsoft_Haruka."
return re.sub(r"^Microsoft (.+) Desktop$", "Microsoft_\\1", name).replace(
" ", "_"
)