summaryrefslogtreecommitdiff
path: root/s2.py
diff options
context:
space:
mode:
Diffstat (limited to 's2.py')
-rw-r--r--s2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/s2.py b/s2.py
index 8add3205..d1ee05d1 100644
--- a/s2.py
+++ b/s2.py
@@ -151,7 +151,7 @@ class SemanticScholarAPI(object):
if chunk:
size += len(chunk)
f.write(chunk)
- return size, response.url
+ return size, resp.url
@staticmethod
def paper(paper_id, **kwargs):