diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-07-01 08:44:20 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-07-01 08:44:20 -0500 |
commit | 9a75be47090366f86e167752147253dfdeae3027 (patch) | |
tree | 743b4f235824115e04e4725e8ae17a167cda9ae7 /romstr.py | |
parent | efb4154d52096659525378344e115b1cd8291ec9 (diff) |
use extras/labels.json and not ./labels.json in romstr.py
original-commit-id: 58c696cfd3a024751d133ed9a9b6809b3a0ff36c
Diffstat (limited to 'romstr.py')
-rw-r--r-- | romstr.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -49,6 +49,8 @@ class RomStr(str): """ 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 = {} |