Merge pull request #1370 from evandroforks/add_missing_none
Fix previous card attribute not initialized
This commit is contained in:
commit
be471f8bde
@ -119,6 +119,7 @@ class Reviewer:
|
|||||||
self.web = mw.web
|
self.web = mw.web
|
||||||
self.card: Optional[Card] = None
|
self.card: Optional[Card] = None
|
||||||
self.cardQueue: List[Card] = []
|
self.cardQueue: List[Card] = []
|
||||||
|
self.previous_card: Optional[Card] = None
|
||||||
self.hadCardQueue = False
|
self.hadCardQueue = False
|
||||||
self._answeredIds: List[CardId] = []
|
self._answeredIds: List[CardId] = []
|
||||||
self._recordedAudio: Optional[str] = None
|
self._recordedAudio: Optional[str] = None
|
||||||
|
Loading…
Reference in New Issue
Block a user