Skip to content

Commit

Permalink
Merge pull request terryum#63 from girishramnani/patch-1
Browse files Browse the repository at this point in the history
use of print function instead of print statement in the except clause
  • Loading branch information
terryum authored Aug 26, 2017
2 parents 153b49c + f2446b8 commit df4e837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch_papers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
with open(os.path.join(section_path, paper + '.pdf'), 'wb') as f:
f.write(response.content)
except requests.exceptions.RequestException as e:
print "Error: {}".format(e)
print("Error: {}".format(e))

0 comments on commit df4e837

Please sign in to comment.