Skip to content

Commit

Permalink
Fixed #65: unprintable hash now encoded to hex
Browse files Browse the repository at this point in the history
  • Loading branch information
jlgg committed Apr 14, 2016
1 parent cce457c commit 13c59c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, mediaType,
def __str__(self):
out = super(DownloadableMediaMessageProtocolEntity, self).__str__()
out += "MimeType: %s\n" % self.mimeType
out += "File Hash: %s\n" % self.fileHash
out += "File Hash: %s\n" % self.fileHash.encode('hex')
out += "URL: %s\n" % self.url
out += "IP: %s\n" % self.ip
out += "File Size: %s\n" % self.size
Expand Down

0 comments on commit 13c59c0

Please sign in to comment.