Skip to content

Commit

Permalink
Dont require setting seq when creating Author objects
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Nov 12, 2021
1 parent 44283cd commit 7003e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calibre/ebooks/metadata/opf3.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def set_languages(root, prefixes, refines, languages):
# Creator/Contributor {{{


Author = namedtuple('Author', 'name sort seq')
Author = namedtuple('Author', 'name sort seq', defaults=(0,))


def is_relators_role(props, q):
Expand Down

0 comments on commit 7003e9c

Please sign in to comment.