New test version posted
2017-10-02
- Remove empty chars from ships when doing sort_ships / ships_CHARS
Quote:
Originally Posted by kstar
As suggestI tried ships_CHARS method ... it almost works BUT for a preceding slash.
input: [Iron Man/Tony S., Pepper P.]
output: /Pepper Potts/Tony Stark
...
|
Internally,
[Iron Man/Tony S., Pepper P.] is changed into
u'Iron Man/Tony S./Pepper P.' and then into a list of
u'Iron Man',
u'Tony S.',
u'Pepper P.', then
ships_CHARS changes it into
u'',
u'Tony S.',
u'Pepper P.' The new test version now discards empty strings whiles sorting
ships.
FYI, in future please also include a story URL. I tested using
this story which is just the first I could find with Pepper/Tony. (Ironman
comic fics on ffnet use
[A. E. Stark/Tony, V. Potts/Pepper], BTW.)