mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 15:53:07 +02:00
Task: Do not use comma-separated lists
This commit is contained in:
parent
c2d2ca0b50
commit
e3ef5de16d
2 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ class TaskCache(object):
|
|||
continue
|
||||
|
||||
# Get them out of TaskWarrior at once
|
||||
tasks = tw.tasks.filter(uuid=','.join(uuids))
|
||||
tasks = tw.tasks.filter(uuid=' '.join(uuids))
|
||||
|
||||
# Update each task in the cache
|
||||
for task in tasks:
|
||||
|
|
|
@ -141,7 +141,7 @@ class SelectedTasks(object):
|
|||
# We might have two same tasks in the range, make sure we do not pass the
|
||||
# same uuid twice
|
||||
unique_tasks = set(vimwikitask.task['uuid'] for vimwikitask in self.tasks)
|
||||
uuids = ','.join(unique_tasks)
|
||||
uuids = ' '.join(unique_tasks)
|
||||
|
||||
# Generate the arguments from the modstring
|
||||
args = util.tw_modstring_to_args(modstring)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue