artefactual-labs / mets-reader-writer

Library to parse and create METS files, especially for Archivematica.
https://mets-reader-writer.readthedocs.io
GNU Affero General Public License v3.0
20 stars 13 forks source link

FSEntry: lower type attr #18

Closed sevein closed 8 years ago

Hwesta commented 8 years ago

I think what's passed in and written to the METS should still be 'Directory', but the comparisons should be foo.lower() == 'directory' to make it more compatible with other things.

sevein commented 8 years ago

ok

Hwesta commented 8 years ago

One more case in mets.py:180 Other than that, :+1: