Skip to content

Commit

Permalink
mandatority assigned
Browse files Browse the repository at this point in the history
  • Loading branch information
matijakolaric committed Dec 19, 2019
1 parent 2e2de70 commit 06d369e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions music_metadata/edi/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def to_dict(self, record, label=None, verbosity=1):
d = OrderedDict()
if verbosity > 1:
d['field_type'] = self.verbose_type
d['field_mandatory'] = self._mandatory
d['valid'] = valid
if not valid or verbosity > 1:
d['error'] = str(record.errors.get(label))
Expand Down

0 comments on commit 06d369e

Please sign in to comment.