mirror of
https://github.com/rembo10/headphones.git
synced 2026-04-05 04:29:25 +01:00
Merge remote-tracking branch 'satreix/develop' into develop
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user