From 7c1f39d10e6927af81112bcf24c4a217a1049f01 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 19 Apr 2016 10:50:05 +0100 Subject: [PATCH] [Core] Minor change to magnet info_hash fix --- deluge/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/common.py b/deluge/common.py index 276e86a2d..1720f0201 100644 --- a/deluge/common.py +++ b/deluge/common.py @@ -618,7 +618,7 @@ def get_magnet_info(uri): log.debug("Invalid base32 magnet hash: %s, %s", xt_hash, ex) break elif len(xt_hash) == 40: - info_hash = xt_hash + info_hash = xt_hash.lower() else: break elif param.startswith(dn_param): @@ -627,7 +627,7 @@ def get_magnet_info(uri): if info_hash: if not name: name = info_hash - return {"name": name, "info_hash": info_hash.lower(), "files_tree": ''} + return {"name": name, "info_hash": info_hash, "files_tree": ''} return False