Skip to content

Commit

Permalink
Merge pull request #63 from seasidesparrow/ref_conf.20240417
Browse files Browse the repository at this point in the history
Fixes Issue #58, refereed conference proceedings
  • Loading branch information
seasidesparrow authored Apr 17, 2024
2 parents 2431ace + 86c78b5 commit 0182c5d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions journalsmanager/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ def export_to_bibstemsdat(rows):
f.write(' %s\n' % nrows)
for r in rows:
try:
if r['pubtype'] == 'Conf. Proc.':
out_type = 'C'
elif r['pubtype'] == 'Journal':
if r['refereed'] == 'yes':
out_type = 'R'
else:
if r.get('refereed', None) == 'yes':
out_type = 'R'
else:
if r['pubtype'] == 'Conf. Proc.':
out_type = 'C'
elif r['pubtype'] == 'Journal':
out_type = 'J'
out_bibstem = ''
if len(r['bibstem']) <= 9 and (r['bibstem'][0] not in ['1','2']):
Expand Down

0 comments on commit 0182c5d

Please sign in to comment.