From 5776b2caad9fa39ac6980d723c0f989c81edb7a3 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 22 Sep 2012 09:05:44 +0200 Subject: [PATCH] Convert torrent hash to uppercase --- couchpotato/core/downloaders/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/downloaders/base.py b/couchpotato/core/downloaders/base.py index 504ddac8..6fa6a915 100644 --- a/couchpotato/core/downloaders/base.py +++ b/couchpotato/core/downloaders/base.py @@ -56,7 +56,7 @@ class Downloader(Plugin): return is_correct def magnetToTorrent(self, magnet_link): - torrent_hash = re.findall('urn:btih:([\w]{32,40})', magnet_link)[0] + torrent_hash = re.findall('urn:btih:([\w]{32,40})', magnet_link)[0].upper() # Convert base 32 to hex if len(torrent_hash) == 32: