Skip to content

Commit

Permalink
SFR-2346: Fix edition verion unpacking (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylevillegas93 authored Nov 22, 2024
1 parent 8d76cf6 commit c9c4d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion managers/sfrRecord.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def saveEdition(self, edition):

# Set Edition Data
if len(edition['edition_data']):
editionStmt, editionNo = tuple(edition['edition_data'].most_common(1)[0][0].split('|'))
editionStmt, editionNo, *_ = tuple(edition['edition_data'].most_common(1)[0][0].split('|'))
newEd.edition_statement = editionStmt
try:
newEd.edition = int(editionNo)
Expand Down

0 comments on commit c9c4d9a

Please sign in to comment.