From 0ca55353fa74abd47fff393d0c40529b859d7650 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 3 Jun 2018 08:26:33 -0700 Subject: [PATCH] fix typo --- AnkiConnect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AnkiConnect.py b/AnkiConnect.py index 1a7fa4f..7c52825 100644 --- a/AnkiConnect.py +++ b/AnkiConnect.py @@ -759,7 +759,7 @@ class AnkiConnect: else: date, ivl = self.collection().db.all('select id/1000.0, ivl from revlog where cid = ?', card)[-1] if ivl >= -1200: - duo.append(bool(self.findCards('cid:{} is:due'.format(card)))) + due.append(bool(self.findCards('cid:{} is:due'.format(card)))) else: due.append(date - ivl <= time())