Skip to content

Commit cd34ec2

Browse files
committed
torrents-info: move errors to bottom
1 parent 291f267 commit cd34ec2

File tree

2 files changed

+44
-47
lines changed

2 files changed

+44
-47
lines changed

library/playback/torrents_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ def torrents_info():
192192
categories = sorted(
193193
categories,
194194
key=lambda d: (
195+
d["state"].endswith(("missingFiles", "error")),
195196
d["state"].endswith(("downloading", "DL")),
196197
iterables.safe_index(interesting_states, d["state"]),
197198
),

pdm.lock

Lines changed: 43 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)