shithub: pokecrystal

Download patch

ref: 58c696cfd3a024751d133ed9a9b6809b3a0ff36c
parent: 85d26e31a5f209aa059250778ec79f762212825f
author: Bryan Bishop <kanzure@gmail.com>
date: Sun Jul 1 04:44:20 EDT 2012

use extras/labels.json and not ./labels.json in romstr.py

--- a/extras/romstr.py
+++ b/extras/romstr.py
@@ -49,6 +49,8 @@
         """ Loads labels from labels.json, or parses the source code file and
             generates new labels.
         """
+        filename = os.path.dirname(__file__) + "/" + filename
+
         # blank out the hash
         self.labels = {}
 
--