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 square_color(sq_name)
|
||||||
yield knight_moves(sq_name)
|
yield knight_moves(sq_name)
|
||||||
|
|
||||||
# randomize the order of the notes
|
notes = list(notes())
|
||||||
for note in random.shuffle(list(notes()))
|
random.shuffle(notes)
|
||||||
|
for note in notes:
|
||||||
deck.add_note(note)
|
deck.add_note(note)
|
||||||
|
|
||||||
out = 'blind_chess.apkg'
|
out = 'blind_chess.apkg'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue