git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
70c32f7
)
Fix get_tags method
author
Adam Dullage
<redacted>
Sun, 21 May 2023 15:23:04 +0000
(16:23 +0100)
committer
Adam Dullage
<redacted>
Sun, 21 May 2023 15:23:04 +0000
(16:23 +0100)
flatnotes/flatnotes.py
patch
|
blob
|
history
diff --git
a/flatnotes/flatnotes.py
b/flatnotes/flatnotes.py
index 782387b7323196b199f552326a96cc315925a769..d9108238222a8b680fbfcf7601216d85819d063b 100644
(file)
--- a/
flatnotes/flatnotes.py
+++ b/
flatnotes/flatnotes.py
@@
-273,7
+273,7
@@
class Flatnotes(object):
def get_tags(self):
"""Return a list of all indexed tags."""
- self.update_index
_debounced
()
+ self.update_index()
with self.index.reader() as reader:
tags = reader.field_terms("tags")
return [tag for tag in tags]
git clone https://git.99rst.org/PROJECT