mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
remove mergeTags()
This commit is contained in:
parent
ddcdda72c9
commit
c4d30a20d9
1 changed files with 0 additions and 4 deletions
|
@ -102,10 +102,6 @@ def _pluralCount(time):
|
||||||
return 1
|
return 1
|
||||||
return 2
|
return 2
|
||||||
|
|
||||||
def mergeTags(*args):
|
|
||||||
"Merge tag lists into a single string."
|
|
||||||
return ", ".join(set(parseTags(",".join(args))))
|
|
||||||
|
|
||||||
def parseTags(tags):
|
def parseTags(tags):
|
||||||
"Parse a string and return a list of tags."
|
"Parse a string and return a list of tags."
|
||||||
tags = tags.split(",")
|
tags = tags.split(",")
|
||||||
|
|
Loading…
Reference in a new issue