This commit is contained in:
Zach Tibbitts 2007-03-27 22:53:05 +00:00
parent 1f3de637b4
commit 54e68ef890

View File

@ -814,7 +814,7 @@ class DelugeGTK:
if result == 1:
opener = urllib.URLopener()
filename, headers = opener.retrieve(url)
if filename.endswith(".torrent") or headers["content-type"]=="application/x=bittorrent":
if filename.endswith(".torrent") or headers["content-type"]=="application/x-bittorrent":
self.interactive_add_torrent(filename)