Changeset 782


Ignore:
Timestamp:
03/04/11 02:41:38 (8 years ago)
Author:
technomage
Message:

Patch by Technomage

  • Reverts last commit adding a FifePath? option to the settings.ini file. It doesn't work and it wasn't a good idea in the first place;
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/active/character_customization/game/parpg/application.py

    r781 r782  
    1414and the basic Listener for PARPG """ 
    1515 
    16 import sys 
    1716import os 
    1817 
     
    112111        """Initialise the instance. 
    113112           @return: None""" 
    114         self._setting = setting 
    115         fife_path = getattr(self._setting.fife, 'FifePath', None) 
    116         if fife_path is not None: 
    117             if 'fife' in os.listdir(os.path.abspath(fife_path)): 
    118                 sys.path.append(fife_path) 
    119             else: 
    120                 error_message = 'could not find fife package in {0}' 
    121                 raise ValueError(error_message.format(fife_path)) 
     113        self._setting = setting  
    122114        self.engine = fife.Engine() 
    123115        self.loadSettings() 
Note: See TracChangeset for help on using the changeset viewer.