# HG changeset patch # User Beliar # Date 1330217916 -3600 # Node ID 5d47ad053aefb39d6a23c7c03b80efd180048295 # Parent 565ffdd98d68e3c1b3daea0e6c0fc218c982e1cf Fixed code that was still using the (removed) parpg settings module. diff -r 565ffdd98d68 -r 5d47ad053aef main.py --- a/main.py Sun Feb 26 01:24:33 2012 +0100 +++ b/main.py Sun Feb 26 01:58:36 2012 +0100 @@ -35,13 +35,13 @@ try: old_path = sys.path - sys.path = [settings.parpg.FifePath] + sys.path = [settings.get("parpg", "FifePath")] import fife except AttributeError: - logger.warning('[parpg] section has no FifePath option') + logger.warning('parpg section has no FifePath option') except ImportError: logger.critical("Could not import fife module. Please install fife or add " - "'FifePath' to the [parpg] section of your settings file") + "'FifePath' to the parpg section of your settings file") sys.exit(1) finally: sys.path = old_path