Skip to content
Snippets Groups Projects
Verified Commit 469f9868 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

WOrk around slippery API of hattori. Advances #105.

parent 8961572c
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,8 @@ def get_photo(**kwargs):
'User-Agent': faker.firefox()
}
)
return ContentFile(req.content, faker.file_name(extension='jpg'))
cf = ContentFile(req.content, faker.file_name(extension='jpg'))
cf.__getitem__ = lambda self, key: self
class PersonAnonymizer(BaseAnonymizer):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment