From cd7c65fc335ea3642f3a1f54eb6e5cd7394ca3f7 Mon Sep 17 00:00:00 2001 From: Stephen McQuay Date: Thu, 25 Oct 2012 22:37:56 -0700 Subject: [PATCH] do one thing, do it well this script should only be used to solve the puzzle and print the solution if one is found. I will do this by returning 0, and printing the solution to stdout, or returning 1 on failure --- bin/solve_maze.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/solve_maze.py b/bin/solve_maze.py index ab19fe7..d5827fe 100644 --- a/bin/solve_maze.py +++ b/bin/solve_maze.py @@ -1,6 +1,5 @@ import sys -from maze import parse_maze, CS235Maze +from maze import parse_maze m = parse_maze(sys.stdin.read()) -print CS235Maze(m)