openpreserve / jpylyzer

JP2 (JPEG 2000 Part 1) validator and properties extractor. Jpylyzer was specifically created to check that a JP2 file really conforms to the format's specifications. Additionally jpylyzer is able to extract technical characteristics.
http://jpylyzer.openpreservation.org/
Other
69 stars 28 forks source link

Use of wildcards results in no images to check warning in case of 1 matching file #66

Closed bitsgalore closed 9 years ago

bitsgalore commented 9 years ago

Running this command:

jpylyzer *.jp2 > jpylyzer.xml

If working directory only contains 1 match, the result is:

User warning: no images to check!

If 2 or more files are present, they are all processed correctly.

UPDATE: this only happens under Windows (both binary version and Python); under Linux the behavior is as expected.

bitsgalore commented 9 years ago

This should fix it :

https://github.com/openpreserve/jpylyzer/commit/3aed7b25405e706f8e2b654119d4dba170107b90

Fix included in version 1.14.2.