Fix opening a story by ID
This fixes "ctrl-o" followed by the story ID. Change-Id: Ica62779c3f70c37d5e7c3791b53d4a24b0d1f3ca
This commit is contained in:
parent
e457ba137b
commit
076cf3ba4b
@ -537,7 +537,7 @@ class App(object):
|
|||||||
self.popup(dialog, width=40, height=6)
|
self.popup(dialog, width=40, height=6)
|
||||||
self.loop.draw_screen()
|
self.loop.draw_screen()
|
||||||
try:
|
try:
|
||||||
task = sync.SyncStoryByIDTask(story, sync.HIGH_PRIORITY)
|
task = sync.SyncStoryTask(story, priority=sync.HIGH_PRIORITY)
|
||||||
self.sync.submitTask(task)
|
self.sync.submitTask(task)
|
||||||
succeeded = task.wait(300)
|
succeeded = task.wait(300)
|
||||||
if not succeeded:
|
if not succeeded:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user