mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: possible fix for pixel drain and torbox cancel download
This commit is contained in:
parent
c9ae543d3e
commit
6ea1f9034b
7 changed files with 31 additions and 25 deletions
|
|
@ -102,7 +102,7 @@ class TorrentDownloader:
|
|||
"http://bvarf.tracker.sh:2086/announce",
|
||||
]
|
||||
|
||||
def start_download(self, magnet: str, save_path: str, header: str):
|
||||
def start_download(self, magnet: str, save_path: str):
|
||||
params = {'url': magnet, 'save_path': save_path, 'trackers': self.trackers, 'flags': self.flags}
|
||||
self.torrent_handle = self.session.add_torrent(params)
|
||||
self.torrent_handle.resume()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue