Changeset 88


Ignore:
Timestamp:
06/05/09 01:15:01 (10 years ago)
Author:
bretzel_parpg
Message:

Added settings-dist.xml so that if there is no settings.xml, it will
copy the settings-dist.xml to make a settings.xml file.

Location:
trunk/PARPG
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/run.py

    r68 r88  
    1919# add paths to the swig extensions 
    2020utils.addPaths ('../../engine/swigwrappers/python', '../../engine/extensions') 
     21 
     22if not os.path.exists('settings.xml'): 
     23    shutil.copyfile('settings-dist.xml', 'settings.xml') 
    2124 
    2225import fife_compat 
Note: See TracChangeset for help on using the changeset viewer.