Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Commit

Permalink
Store our paths as unicode so the db doesn't freak out.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Feb 19, 2014
1 parent 03b0614 commit ab0698b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion summershum/utils.py
Expand Up @@ -100,4 +100,4 @@ def walk_directory(directory):
sha256sum = hashlib.sha256(contents).hexdigest()
sha1sum = hashlib.sha1(contents).hexdigest()
md5sum = hashlib.md5(contents).hexdigest()
yield (file_path, sha256sum, sha1sum, md5sum)
yield (file_path.decode('utf-8'), sha256sum, sha1sum, md5sum)

0 comments on commit ab0698b

Please sign in to comment.