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
1 changed files with 1 additions and 1 deletions

View File

@ -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: