Changeset 26314


Ignore:
Timestamp:
2012-10-16T11:25:13+13:00 (12 years ago)
Author:
sjm84
Message:

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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.