diff --git a/deluge/ui/common.py b/deluge/ui/common.py index 85c8351b1..a3f5a1256 100644 --- a/deluge/ui/common.py +++ b/deluge/ui/common.py @@ -110,9 +110,11 @@ class TorrentInfo(object): f["path"] = path f["index"] = index if "sha1" in f and len(f["sha1"]) == 20: - f["sha1"] = f["sha1"].encode('hex') + f["sha1"] = f["sha1"].encode('hex') if "ed2k" in f and len(f["ed2k"]) == 16: - f["ed2k"] = f["ed2k"].encode('hex') + f["ed2k"] = f["ed2k"].encode('hex') + if "filehash" in f and len(f["filehash"]) == 20: + f["filehash"] = f["filehash"].encode('hex') paths[path] = f dirname = os.path.dirname(path) while dirname: