Changeset 26314

Show
Ignore:
Timestamp:
16.10.2012 11:25:13 (6 years ago)
Author:
sjm84
Message:

issuetoitem will now use the last number in the name for the page number

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/model-cols/niupepa/issuetoitem.py

    r26201 r26314  
    3434                  count += 1 
    3535                  line = line.rstrip() 
    36                   o.write(str(count) + ":images/" + line + ".gif:text/" + line + ".txt\n") 
     36                  nameSegments = line.split("_") 
     37                  o.write(nameSegments[len(nameSegments)-1] + ":images/" + line + ".gif:text/" + line + ".txt\n") 
    3738            o.close() 
    3839