summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-09-22 01:12:55 -0500
committerBryan Bishop <kanzure@gmail.com>2013-09-22 01:12:55 -0500
commitbf20b9982b19535044a7d40848bd46a04731694e (patch)
tree1c602a3c9ca2d1b736227ec0dc575ab5b4eb5115
parent81504f340187fe6e3fff7ed13d947216fe36030c (diff)
save_state_path is only on self.config
-rw-r--r--pokemontools/vba/vba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/vba/vba.py b/pokemontools/vba/vba.py
index 7dc0d8f..1b33ba7 100644
--- a/pokemontools/vba/vba.py
+++ b/pokemontools/vba/vba.py
@@ -91,7 +91,7 @@ class crystal(object):
if not os.path.exists(save_path):
if len(name) < 4 or name[-4:] != ".sav":
name += ".sav"
- save_path = os.path.join(save_state_path, name)
+ save_path = os.path.join(self.config.save_state_path, name)
with open(save_path, "rb") as file_handler:
state = file_handler.read()