# HG changeset patch # User sirebral # Date 1247648390 18000 # Node ID 5a2c95067daffcb82f93f4c1f2158075fe5efc43 # Parent c0da99091e1da0e26cb0f5f591df2a9a400a6bb8 This update causes the software to remove approot.py and approot.pyc These files will be created the next time you run but if they remain they may call an old directory. diff -r c0da99091e1d -r 5a2c95067daf orpg/main.py --- a/orpg/main.py Wed Jul 15 02:09:11 2009 -0500 +++ b/orpg/main.py Wed Jul 15 03:59:50 2009 -0500 @@ -1250,4 +1250,9 @@ return True def OnExit(self): + #Clean up approot files on exit. + self.log.log("Removing approot files\n", ORPG_DEBUG) + os.remove(os.environ["OPENRPG_BASE"] + os.sep + 'orpg' + os.sep + 'dirpath' + os.sep + 'approot.py') + os.remove(os.environ["OPENRPG_BASE"] + os.sep + 'orpg' + os.sep + 'dirpath' + os.sep + 'approot.pyc') + #Exit self.log.log("Main Application Exit\n\n", ORPG_DEBUG)