Skip to content

Commit

Permalink
Fix bug in sudoku demo
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreQuentel committed Sep 10, 2014
1 parent 236fc39 commit eeebd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/gallery/sudoku.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
return t

# example from http://magictour.free.fr/msk_009
grids = [line.replace('.','0') for line in open('sudoku_grids.txt')]
grids = [line.replace('.','0').strip() for line in open('sudoku_grids.txt')]

puzzle = html.SPAN(style={"float":"left"})
puzzle <= make_grid(choice(grids))
Expand Down

0 comments on commit eeebd72

Please sign in to comment.