Skip to content

Commit

Permalink
fix issue #114
Browse files Browse the repository at this point in the history
  • Loading branch information
xlcnd committed Oct 5, 2022
1 parent acd4fb7 commit a33cbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isbnlib/_msk.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def msk(isbn, separator='-'):
buf = ib[igi:cur + 1]
group = group + buf[-1:] # <-- HACK!

if idx is not None: # <-- issue #114
if idx is not None: # <-- issue #114 (idx = 0 is a valid possibility)
if isbn10:
group = group[4:]
check = check10
Expand Down

0 comments on commit a33cbbc

Please sign in to comment.