Skip to content

Commit

Permalink
Merge pull request #157 from seasidesparrow/master
Browse files Browse the repository at this point in the history
 	modified:   pyingest/parsers/iop.py
  • Loading branch information
seasidesparrow committed Jul 27, 2021
2 parents a1f3117 + 6a5d1c6 commit 9afc3db
Show file tree
Hide file tree
Showing 3 changed files with 1,030 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pyingest/parsers/iop.py
Expand Up @@ -104,8 +104,9 @@ def parse(self, input_data, **kwargs):
else:
if len(idno) == 6:
try:
idtwo = string.letters[int(idno[0:2]) - 1]
idtwo = string.ascii_letters[int(idno[0:2]) - 1]
except Exception as err:
print('warning while creating volume/issue for bibcode:',err)
idtwo = idno[0:2]
idfour = idno[2:]
issue_letter = ''
Expand Down

0 comments on commit 9afc3db

Please sign in to comment.