fix: python error

This commit is contained in:
Jack Halford 2025-04-18 21:40:41 +02:00
parent 340b627df3
commit cbface83ee
No known key found for this signature in database

View file

@ -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'