Skip to content

Commit

Permalink
fix for betterbib-journal-abbrev exec
Browse files Browse the repository at this point in the history
  • Loading branch information
nschloe committed Dec 7, 2017
1 parent 7e76721 commit 20532c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/betterbib-journal-abbrev
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ def _main():
updater = betterbib.JournalNameUpdater(args.long_journal_names)

data = bibtex.Parser().parse_file(args.infile)
for entry in data:
entry = updater.update(entry)
print(entry)
for key in data.entries:
updater.update(data.entries[key])

_write(data.entries, args.outfile, 'curly')
return
Expand Down

0 comments on commit 20532c0

Please sign in to comment.