mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
fix _tidy_name() comment
This commit is contained in:
parent
4781ed4d70
commit
a954dc1066
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ if isWin:
|
||||||
self._terminate_flag = False
|
self._terminate_flag = False
|
||||||
|
|
||||||
def _tidy_name(self, name: str) -> str:
|
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(
|
return re.sub(r"^Microsoft (.+) Desktop$", "Microsoft_\\1", name).replace(
|
||||||
" ", "_"
|
" ", "_"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue