Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
Fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Maupetit committed Sep 26, 2017
1 parent 3a0cee9 commit fceccb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion td_biblio/utils/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def load_records(self, PMIDs=None):
entry.pmid
)
logger.error(
'{}, error: {} [{}], data: {}'.format(msg, e, v, r)
'{}, error: {} [{}], data: {}'.format(msg, e, v, record)
)
raise PMIDLoaderError(msg)

Expand Down
2 changes: 1 addition & 1 deletion td_biblio/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def form_valid(self, form):
except PMIDLoaderError as e:
messages.error(self.request, e)
return self.form_invalid(form)

pm_loader.save_records()

# DOIs
Expand Down

0 comments on commit fceccb3

Please sign in to comment.