Skip to content

Commit

Permalink
Merge e36c3f6 into 3a8bb5a
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Jun 8, 2021
2 parents 3a8bb5a + e36c3f6 commit 3fe857c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion duecredit/stub.py
Expand Up @@ -52,7 +52,7 @@ def _donothing_func(*args, **kwargs):


try:
from duecredit import due, BibTeX, Doi, Url, Text
from duecredit import due, BibTeX, Doi, Url, Text # lgtm [py/unused-import]
if 'due' in locals() and not hasattr(due, 'cite'):
raise RuntimeError(
"Imported due lacks .cite. DueCredit is now disabled")
Expand Down

0 comments on commit 3fe857c

Please sign in to comment.