# HG changeset patch # User sirebral # Date 1248447802 18000 # Node ID d492f137cd3c32d98c783ca875d934142a14d6de # Parent dcb7d905debe111f81d8d1191dcaacb8efb41e9b Fix to cherrypy's start feature for Win users. diff -r dcb7d905debe -r d492f137cd3c orpg/orpg_version.py --- a/orpg/orpg_version.py Tue Jul 21 17:20:29 2009 -0500 +++ b/orpg/orpg_version.py Fri Jul 24 10:03:22 2009 -0500 @@ -4,7 +4,7 @@ #BUILD NUMBER FORMAT: "YYMMDD-##" where ## is the incremental daily build index (if needed) DISTRO = "Traipse" DIS_VER = "Grumpy Goblin" -BUILD = "090721-00" +BUILD = "090724-00" # This version is for network capability. PROTOCOL_VERSION = "1.2" diff -r dcb7d905debe -r d492f137cd3c plugins/xxcherrypy.py --- a/plugins/xxcherrypy.py Tue Jul 21 17:20:29 2009 -0500 +++ b/plugins/xxcherrypy.py Fri Jul 24 10:03:22 2009 -0500 @@ -49,7 +49,10 @@ self.plugin_addcommand('/cherrypy', self.on_cherrypy, '[on | off | port | status] - This controls the CherryPy Web Server') - self.on_cherrypy(self.plugindb.GetString("xxcherrypy", "auto_start", None)) # VEG + cherry_start = str(self.plugindb.GetString("xxcherrypy", "auto_start", None)) #VEG, DJG, TAS + if cherry_start == "on": self.on_cherrypy("on") + else: pass + del cherry_start self.cherryhost = 'http://' + self.host + ':' + str(self.port) + '/webfiles/' open_rpg.add_component("cherrypy", self.cherryhost)