Fix opening a story by ID

This fixes "ctrl-o" followed by the story ID.

Change-Id: Ica62779c3f70c37d5e7c3791b53d4a24b0d1f3ca
This commit is contained in:
James E. Blair 2019-02-27 12:13:50 -08:00
parent e457ba137b
commit 076cf3ba4b

View File

@ -537,7 +537,7 @@ class App(object):
self.popup(dialog, width=40, height=6)
self.loop.draw_screen()
try:
task = sync.SyncStoryByIDTask(story, sync.HIGH_PRIORITY)
task = sync.SyncStoryTask(story, priority=sync.HIGH_PRIORITY)
self.sync.submitTask(task)
succeeded = task.wait(300)
if not succeeded: