mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
refactor: remove commented-out code for torrent actions in main.py and torrent_downloader.py
This commit is contained in:
parent
abb3db4e30
commit
93712a7f5e
2 changed files with 0 additions and 50 deletions
|
@ -131,13 +131,6 @@ def action():
|
|||
if downloader:
|
||||
downloader.cancel_download()
|
||||
|
||||
# elif action == 'kill-torrent':
|
||||
# torrent_downloader.abort_session()
|
||||
# torrent_downloader = None
|
||||
# elif action == 'pause-seeding':
|
||||
# torrent_downloader.pause_seeding(game_id)
|
||||
# elif action == 'resume-seeding':
|
||||
# torrent_downloader.resume_seeding(game_id, data['url'], data['save_path'])
|
||||
else:
|
||||
return jsonify({"error": "Invalid action"}), 400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue