Browse Source

Fix opening a story by ID

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

Change-Id: Ica62779c3f70c37d5e7c3791b53d4a24b0d1f3ca
changes/07/639807/1
James E. Blair 3 years ago
parent
commit
076cf3ba4b
  1. 2
      boartty/app.py

2
boartty/app.py

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

Loading…
Cancel
Save