diff --git a/headphones/transmission.py b/headphones/transmission.py index 990360d0..ab5ae6c9 100644 --- a/headphones/transmission.py +++ b/headphones/transmission.py @@ -31,7 +31,7 @@ import headphones def addTorrent(link, data=None): method = 'torrent-add' - if link.endswith('.torrent') or data: + if link.endswith('.torrent') and not link.startswith('http') or data: if data: metainfo = str(base64.b64encode(data)) else: