Skip to content

Commit

Permalink
fix downloading
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Jul 6, 2023
1 parent 517f83a commit 99f30b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/modules/qbittorrent/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def list_torrents(self, status: TorrentStatus = None,
season_episode=meta.season_episode,
progress=torrent.get('progress'),
size=torrent.get('total_size'),
state="downloading" if torrent.get('state') == "downloading" else "paused",
state="paused" if torrent.get('state') == "paused" else "downloading",
dlspeed=StringUtils.str_filesize(torrent.get('dlspeed')),
upspeed=StringUtils.str_filesize(torrent.get('upspeed')),
))
Expand Down

0 comments on commit 99f30b2

Please sign in to comment.