From 50300b55b5adefd48b5e95caab2c9829b9bf945a Mon Sep 17 00:00:00 2001 From: David Bailey Date: Sun, 30 Jul 2017 11:48:57 +0100 Subject: [PATCH] Fix bug where guiDeckReview always returns null --- AnkiConnect.py | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AnkiConnect.py b/AnkiConnect.py index 130ae2a..f323d50 100644 --- a/AnkiConnect.py +++ b/AnkiConnect.py @@ -737,7 +737,7 @@ class AnkiConnect: @webApi def guiDeckReview(self, name): - self.anki.guiDeckReview(name) + return self.anki.guiDeckReview(name) # diff --git a/README.md b/README.md index deca307..defffd8 100644 --- a/README.md +++ b/README.md @@ -504,7 +504,7 @@ Below is a list of currently supported actions. Requests with invalid actions or *Sample response*: ``` - null + true ``` * **upgrade**