From 076cf3ba4b161ed08a55f221d67ac709e209a725 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 27 Feb 2019 12:13:50 -0800 Subject: [PATCH] Fix opening a story by ID This fixes "ctrl-o" followed by the story ID. Change-Id: Ica62779c3f70c37d5e7c3791b53d4a24b0d1f3ca --- boartty/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boartty/app.py b/boartty/app.py index b6528da..98463f9 100644 --- a/boartty/app.py +++ b/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: