view start_tester.py @ 58:27e58b0483e7 traipse_dev

Fixed major bug that caused an error to spit out in Windows platforms. Added /tmp/tmp.txt placeholder to ensure the /tmp/ folder is there. removed more print statements.
author sirebral
date Sat, 08 Aug 2009 00:25:33 -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!"