From 58c696cfd3a024751d133ed9a9b6809b3a0ff36c Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 1 Jul 2012 08:44:20 -0500 Subject: [PATCH] use extras/labels.json and not ./labels.json in romstr.py --- extras/romstr.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extras/romstr.py b/extras/romstr.py index d89c67ef5..967e19c3c 100644 --- a/extras/romstr.py +++ b/extras/romstr.py @@ -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 = {}