From 4ce6e15e68fe2e5716ecb4149894cb1c32a7f9e7 Mon Sep 17 00:00:00 2001 From: jankkm Date: Fri, 6 Sep 2024 08:17:22 +0200 Subject: [PATCH] Update feedgenerator.py usort expects a comparator with an integer return value. fixed it with the spaceship operator. --- spodcast/feedgenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spodcast/feedgenerator.py b/spodcast/feedgenerator.py index 25a8412..5a6c27f 100644 --- a/spodcast/feedgenerator.py +++ b/spodcast/feedgenerator.py @@ -56,7 +56,7 @@ def RSS_FEED_CODE(version): filemtime($b); }); foreach ($raw_files as &$raw_file) {