Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 Patch gets correct size info for filenames with spaces

open
nobody
None
5
2005-10-20
2005-10-20
Tim Cera
No

The patch uses re.search to go all the way through the
string returned by 'identify' to find the size. The
string.split doesn't work correctly if the filename has
spaces. Could also do something like
string.split(output)[-6], but I wasn't sure whether
'identify' always returned the same number of fields at
the end.

Patch against curator-2.1.

Does anyone read the Sourceforge trackers?

Discussion

  • Tim Cera
    Tim Cera
    2005-10-20

    Patch against 2.1 to corectly get size of image files with spaces in the filename