Skip to content

Commit

Permalink
Addresses #183 and #177
Browse files Browse the repository at this point in the history
  • Loading branch information
x0xMaximus committed Nov 16, 2016
1 parent a04023b commit 77fd56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mark2cure/document/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run_pubtator(self):
# Should never be more than 1 spending request per Pubtator
try:
pending_request = pubtator.pubtatorrequest_set.get(status=PubtatorRequest.UNFULLFILLED)
except self.DoesNotExist:
except PubtatorRequest.DoesNotExist:
pending_request = False

# If we successfully retrieved in the past, but it's old now
Expand Down

0 comments on commit 77fd56b

Please sign in to comment.