File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Download the file for your operating system from [latest release](https://github
9
9
Alternatively, if you want to build the application on your own, follow the instructions in the [ Build] ( #build ) section.
10
10
11
11
## Build
12
- Clone the repository in a directory of your choice:
12
+ Clone the repository in a directory of your choice(required ` git ` ) :
13
13
``` sh
14
14
git clone https://github.com/lucabindini/study_and_repeat
15
15
```
Original file line number Diff line number Diff line change @@ -97,9 +97,10 @@ def get_card(self) -> card.Card:
97
97
def calculate_delay (self , correctness : bool ) -> None :
98
98
c = (self ._new_queue if self ._is_new else self ._queues [0 ]).popleft ()
99
99
100
+ self ._is_new = not self ._is_new
100
101
# to avoid asking the same question twice in a row
101
- if self ._queues [0 ]:
102
- self ._is_new = not self . _is_new
102
+ if not self ._queues [0 ]:
103
+ self ._is_new = True
103
104
104
105
if correctness :
105
106
while len (self ._queues ) <= self ._cards_strengths [c .identifier ]:
You can’t perform that action at this time.
0 commit comments