fix: python error
This commit is contained in:
parent
340b627df3
commit
cbface83ee
1 changed files with 3 additions and 2 deletions
|
|
@ -66,8 +66,9 @@ def notes():
|
|||
yield square_color(sq_name)
|
||||
yield knight_moves(sq_name)
|
||||
|
||||
# randomize the order of the notes
|
||||
for note in random.shuffle(list(notes()))
|
||||
notes = list(notes())
|
||||
random.shuffle(notes)
|
||||
for note in notes:
|
||||
deck.add_note(note)
|
||||
|
||||
out = 'blind_chess.apkg'
|
||||
|
|
|
|||
Loading…
Reference in a new issue