view start_server_gui.py @ 5:0ef2010258c0 grumpy-goblin

Important patch to mplay_server_gui.py that prevent servers from starting.
author sirebral
date Fri, 17 Jul 2009 01:31:53 -0500
parents f24c6e431a15
children b6c6ec28ba8a
line wrap: on
line source

#!/usr/bin/env python

import os
import sys

HG = os.environ["HG"]

import pyver
pyver.checkPyVersion()

os.system(HG + ' pull "http://hg.assembla.com/traipse"')
os.system(HG + ' update')

from orpg.orpg_wx import *

if WXLOADED:
    import orpg.networking.mplay_server_gui
    app = orpg.networking.mplay_server_gui.ServerGUIApp(0)
    app.MainLoop()