Commit 46a68c5b authored by Adam Caprez's avatar Adam Caprez
Browse files

Fix undefined `data` variable

parent 71a5983e
......@@ -32,7 +32,7 @@ def downloadFile(url, localpath, urltype="ftp://", retries=3, overwrite=True, ch
success = True
print "File saved successfully.\n"
else:
print "MD5 mismatch (input=[%s], hexdigest=[%s]). Retrying.\n" % (md5, hashlib.md5(data).hexdigest())
print "MD5 mismatch (input=[%s], hexdigest=[%s]). Retrying.\n" % (md5, hash_md5.hexdigest())
else:
success = True
print "File saved successfully.\n"
......
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