about summary refs log tree commit diff homepage
path: root/brutalmaze/maze.py
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-08-08 20:05:21 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-08-08 20:05:21 +0700
commit1e7e981e815dc848a55c1325f6a891b427eb75de (patch)
tree40c152725f77138438c69bab994e288460754988 /brutalmaze/maze.py
parent6d2f6d6ad3348570664d84c188560cb9ae4aac82 (diff)
downloadbrutalmaze-1e7e981e815dc848a55c1325f6a891b427eb75de.tar.gz
Fix stupid ass bugs 0.8.21
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 = []