mirror of
https://github.com/ankitects/anki.git
synced 2025-11-14 16:47:12 -05:00
remove temp variable
This commit is contained in:
parent
05876f1299
commit
1621f2ff26
1 changed files with 1 additions and 2 deletions
|
|
@ -89,8 +89,7 @@ class TagManager:
|
|||
|
||||
def rename(self, old: str, new: str) -> OpChangesWithCount:
|
||||
"Rename provided tag and its children, returning number of changed notes."
|
||||
x = self.col._backend.rename_tags(current_prefix=old, new_prefix=new)
|
||||
return x
|
||||
return self.col._backend.rename_tags(current_prefix=old, new_prefix=new)
|
||||
|
||||
def remove(self, space_separated_tags: str) -> OpChangesWithCount:
|
||||
"Remove the provided tag(s) and their children from notes and the tag list."
|
||||
|
|
|
|||
Loading…
Reference in a new issue