aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-11-21 01:19:02 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:12:34 +0200
commitfb4d83ed80585ab1b6bc0a05d67e27cd30941bcf (patch)
treed3a34723379073093423bd08d5db0648b8edd131
parentd72ec3c5a20e2302b991c7bd60d39f7177bf2ec9 (diff)
Fix sorting of downloaded list
-rwxr-xr-xautomedia.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/automedia.py b/automedia.py
index 9bd142d..492791f 100755
--- a/automedia.py
+++ b/automedia.py
@@ -732,7 +732,7 @@ def command_downloaded():
downloaded_items = []
downloaded_items.extend(get_downloaded_items(os.path.join(rss_config_dir, "tracked")))
downloaded_items.extend(get_downloaded_items(os.path.join(html_config_dir, "tracked")))
- #downloaded_items = sorted(downloaded_items, key=lambda item: float(item["time"]), reverse=True)
+ downloaded_items = sorted(downloaded_items, key=lambda item: float(item["time"]))
for item in downloaded_items:
print(item["title"])