-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use last fileGrp as default #60
Comments
The method use_file_goup() is just the fallback, if not overridden in subclasses. For nearly all subclasses there is a property file_group that will be used instead. I changed the configurator to always select the last entry now. |
Oh right! Sry, forgot all about that.
Thank you! |
Which did of course solve the issue. |
browse-ocrd/ocrd_browser/view/base.py
Lines 84 to 85 in 14cee74
This often does not exist in real life (DFG profile has
DEFAULT
orMAX
orORIGINAL
), and has empty PAGE XML anyway. So IMO it would make more sense to pick the last fileGrp with PAGE-XML mimetype by default.(Or even better, make this configurable as well, like the default image fileGrp.)
The text was updated successfully, but these errors were encountered: