shithub: pokecrystal

Download patch

ref: 86cb61dbe8691bb04da02007996b008bd1fa3091
parent: 58c696cfd3a024751d133ed9a9b6809b3a0ff36c
author: Bryan Bishop <kanzure@gmail.com>
date: Sun Jul 1 04:48:27 EDT 2012

make pokecrystal compatible with python2.6 by default

--- a/extras/romstr.py
+++ b/extras/romstr.py
@@ -23,7 +23,8 @@
     """
 
     def __init__(self, *args, **kwargs):
-        self.load_labels()
+        if "labels" in kwargs.keys() and kwargs["labels"] == True:
+            self.load_labels()
         str.__init__(self)
 
     def __repr__(self):
--