Changeset 95


Ignore:
Timestamp:
06/05/09 12:50:16 (10 years ago)
Author:
maximinus_parpg
Message:

Added windows check on gfxsplit.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/utilities/gfxsplit.py

    r93 r95  
    4040    # strip off the png part and replace with the XML 
    4141    filename = name.split('/')[-1] 
     42    if(filename == name): 
     43        filename = name.split('\\')[-1] 
    4244    x_file = open(name[:-4]+".xml","wt") 
    4345    x_file.write('''<?fife type="object"?>\n''') 
Note: See TracChangeset for help on using the changeset viewer.