From 05d316615aa23028d16280a2f6d4e1e196e12644 Mon Sep 17 00:00:00 2001 From: satreix Date: Thu, 25 Feb 2016 11:13:55 +0100 Subject: [PATCH] pep: fix commenting --- headphones/deluge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/deluge.py b/headphones/deluge.py index 9f999924..89a9bcdc 100644 --- a/headphones/deluge.py +++ b/headphones/deluge.py @@ -101,8 +101,8 @@ def addTorrent(link, data=None): 'content': torrentfile} retid = _add_torrent_file(result) + # elif link.endswith('.torrent') or data: elif not (link.startswith('http://') or link.startswith('https://')): - #elif link.endswith('.torrent') or data: if data: logger.debug('Deluge: Getting .torrent data') torrentfile = data