Commit 0c96e233 authored by Eren Doğan's avatar Eren Doğan Committed by GitHub

fucked up

parent 7e9cc877
......@@ -247,11 +247,10 @@ class ImageDatasetBuilder():
if result.status_code != 200:
return None
data = result.content
saved_md5 = hashlib.md5(data)
if saved_md5 != md5:
return None
data = result.content
data = self.encode_op(data)
return data
......
Markdown is supported
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