mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 06:43:06 +02:00
NoNoneStore: Fix incorrect attribute references
This commit is contained in:
parent
c812448c33
commit
0a1cbfcb39
1 changed files with 2 additions and 2 deletions
|
@ -66,10 +66,10 @@ class NoNoneStore(object):
|
|||
item = self.store.get(key)
|
||||
|
||||
if item is None:
|
||||
item = get_method(self, key)
|
||||
item = self.get_method(key)
|
||||
|
||||
# If we successfully obtained an item, save it to the cache
|
||||
if vimwikitask is not None:
|
||||
if item is not None:
|
||||
self.store[key] = item
|
||||
|
||||
return item # May return None if the line has no task
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue