Merge branch 'master' of github.com:e1ven/Robohash

This commit is contained in:
Robohash 2019-08-28 11:55:24 -04:00
commit 5b09458f6c

View File

@ -32,7 +32,7 @@ Usage
hash = "whatever-hash-you-want"
rh = Robohash(hash)
rh.assemble(roboset='any')
with open("path/to/new/file.png", "w") as f:
with open("path/to/new/file.png", "wb") as f:
rh.img.save(f, format="png")
Robosets