Skip to content

Commit 0c142a7

Browse files
committed
torrents_info.py: Added 2 lines
1 parent f15886d commit 0c142a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/playback/torrents_info.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,8 @@ def shorten(s, width):
608608
torrents = sorted(torrents, key=lambda t: (t.downloaded, t.downloaded_session), reverse=reverse_sort)
609609
elif args.sort in ["uploaded", "upload", "egress"]:
610610
torrents = sorted(torrents, key=lambda t: (t.uploaded, t.uploaded_session), reverse=reverse_sort)
611+
elif args.move:
612+
torrents = sorted(torrents, key=lambda t: (t.state_enum.is_complete, t.downloaded))
611613
elif args.inactive:
612614
torrents = sorted(
613615
torrents,

0 commit comments

Comments
 (0)