pep: fix commenting

This commit is contained in:
satreix
2016-02-25 11:13:55 +01:00
parent 0eb8702a8e
commit 05d316615a

View File

@@ -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