diff orpg/gametree/nodehandlers/dnd3e.py @ 82:2fa8bd6785a5 ornery-dev

TerminalWriter's colors are nice, but if no debug console is open it causes the software to look for one until a recursion error is created. Crash reports are sent to the debug console and a pop-up tells the user one has happened. Fix to chat window from SnowDog.
author sirebral
date Thu, 27 Aug 2009 00:51:22 -0500
parents fdcca00696ea
children 8827271fbe1b
line wrap: on
line diff
--- a/orpg/gametree/nodehandlers/dnd3e.py	Wed Aug 26 23:24:45 2009 -0500
+++ b/orpg/gametree/nodehandlers/dnd3e.py	Thu Aug 27 00:51:22 2009 -0500
@@ -145,12 +145,13 @@
 #
 
 #import orpg.tools.orpg_settings #Not used??
-import orpg.minidom
-from core import component
+#import orpg.minidom
+from core import *
 from containers import *
 from string import *  #a 1.6003
 from inspect import *  #a 1.9001
-from orpg.dirpath import dir_struct
+from orpg.dirpath import dir_struct
+
 dnd3e_EXPORT = wx.NewId()
 ############Global Stuff##############
 
@@ -302,7 +303,6 @@
         html_str += "<P>" + self.pp.tohtml()
         html_str += "<P>" + self.skills.tohtml() +"</td>"
         #a block for 1.6009 end
-
         html_str += "</tr></table>"
         return html_str