deal with windows files too
This commit is contained in:
parent
091232a21c
commit
5f3384d4f2
@ -67,6 +67,7 @@ def make_maze(size=8):
|
||||
|
||||
|
||||
def parse_maze(maze):
|
||||
maze = maze.replace('\r', '')
|
||||
soilded = [[[int(i) for i in j.split()]
|
||||
for j in k.split('\n')]
|
||||
for k in maze.split('\n\n') if k]
|
||||
|
Loading…
Reference in New Issue
Block a user