Skip to content
Browse files
py3 fix
  • Loading branch information
ralsina committed May 14, 2015
1 parent 7b6a984 commit 25e8ef289b1a11c0a4e30c4deb80ce59d8fa20a1
Showing 1 changed file with 1 addition and 1 deletion.
@@ -234,7 +234,7 @@ def __repr__(self):
# Calculate a hash that represents most data about the post
m = hashlib.md5()
# source_path modification date (to avoid reading it)
m.update(json.dumps(self.meta, cls=utils.CustomEncoder, sort_keys=True))
return '<Post: {0} {1}>'.format(self.source_path, m.hexdigest())

0 comments on commit 25e8ef2

Please sign in to comment.