SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit efc841e3 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Make ChemRxiv caller more robust

parent 20a8de61
No related branches found
No related tags found
No related merge requests found
...@@ -222,6 +222,6 @@ class FigshareCaller: ...@@ -222,6 +222,6 @@ class FigshareCaller:
)) ))
def _result_present(self, data): def _result_present(self, data):
if data['id'] == int(self.identifier): if 'id' in data and data['id'] == int(self.identifier):
return True return True
return False return False
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment