From abbae3f0c7e6c882b2ac4ecd60ec29fa3ba0ec14 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 23 Jul 2016 01:19:31 +0200 Subject: Move image saving to sidewinder_demo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grid.py') diff --git a/grid.py b/grid.py index 8cc442a..f1621ec 100644 --- a/grid.py +++ b/grid.py @@ -121,4 +121,4 @@ class Grid(object): draw.ellipse((x2-r, y2-r, x2+r, y2+r), fill='#000000') img = img.filter(ImageFilter.GaussianBlur(radius=0.8)) - img.save('maze.png') + return img -- cgit v1.2.3-54-g00ecf