Skip to content

Commit

Permalink
reduce pixel_density problem severity: error -> warning,
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Nov 1, 2019
1 parent c492020 commit 17cf70d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocrd_validators/ocrd_validators/workspace_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def _validate_pixel_density(self):
for k in ['xResolution', 'yResolution']:
v = exif.__dict__.get(k)
if v is None or v <= 72:
self.report.add_error("Image %s: %s (%s pixels per %s) is too low" % (f.ID, k, v, exif.resolutionUnit))
self.report.add_warning("Image %s: %s (%s pixels per %s) is too low" % (f.ID, k, v, exif.resolutionUnit))

def _validate_mets_file_group_names(self):
"""
Expand Down

0 comments on commit 17cf70d

Please sign in to comment.