diff --git a/pythorrent/torrent.py b/pythorrent/torrent.py index 5edf7f9..cbf0d39 100644 --- a/pythorrent/torrent.py +++ b/pythorrent/torrent.py @@ -151,7 +151,7 @@ def from_torrent_dict(cls, metainfo, save_path): return cls( name=info['name'], announce_urls=map( - lambda (url,): url, metainfo['announce-list'] + lambda url : url, metainfo['announce-list'] ), # Note that info_hash is generated here because torrentool # returns the info_hash as hex encoded, which is really not