Mercurial > traipse_dev
view start_tester.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 | 0aeee1992423 |
children |
line wrap: on
line source
#!/usr/bin/env python import sys import os HG = os.environ["HG"] import pyver pyver.checkPyVersion() from orpg.orpg_wx import * import upmana.updatemana app = upmana.updatemana.updateApp(0) app.MainLoop() for key in sys.modules.keys(): if 'orpg' in key: del sys.modules[key] from orpg.orpg_wx import * import orpg.main if WXLOADED: mainapp = orpg.main.orpgApp(0) mainapp.MainLoop() else: print "You really really need wx!"