about summary refs log tree commit diff homepage
path: root/brutalmaze/maze.py
diff options
context:
space:
mode:
Diffstat (limited to 'brutalmaze/maze.py')
-rw-r--r--brutalmaze/maze.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/brutalmaze/maze.py b/brutalmaze/maze.py
index 28dc912..15610dd 100644
--- a/brutalmaze/maze.py
+++ b/brutalmaze/maze.py
@@ -77,7 +77,7 @@ class Maze:
             self.surface = None
         else:
             self.surface = pygame.display.set_mode(size, pygame.RESIZABLE)
-        self.export_dir = path.abspath(export_dir)
+        self.export_dir = path.abspath(export_dir) if export_dir else ''
         self.next_export = self.export_rate = export_rate
         self.export = []