Commit f658f57c authored by André Anjos's avatar André Anjos 💬
Browse files

[python2] Fix missing variable

parent 9f3fb236
......@@ -80,7 +80,7 @@ class Database():
from urllib2 import urlopen
with open(tmp_file, 'wb') as out_file:
response = urlopen(url)
dfile.write(response.read())
out_file.write(response.read())
else:
# python3 technique for downloading a file
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment