From da8a8277bd87aeb663f856b83056f485afd88725 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 6 Dec 2010 15:51:20 +0100 Subject: [PATCH] Fix very serious issue in tracker with wrong hashes. --- www/webapp/torrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/webapp/torrent.py b/www/webapp/torrent.py index 8f6247f8..18d5da67 100644 --- a/www/webapp/torrent.py +++ b/www/webapp/torrent.py @@ -12,7 +12,7 @@ def decode_hex(s): if not c == chr(i): continue - ret.append("%0x" % i) + ret.append("%02x" % i) return "".join(ret) -- 2.47.3