From 738eae5bdb279aa2fe18eb723cfe03c95b2889a9 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Sat, 28 Dec 2024 19:32:04 +0200 Subject: [PATCH] convert strings --- get_peertube_videos/get_peertube_videos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_peertube_videos/get_peertube_videos.py b/get_peertube_videos/get_peertube_videos.py index 2eea697..3516fa9 100644 --- a/get_peertube_videos/get_peertube_videos.py +++ b/get_peertube_videos/get_peertube_videos.py @@ -91,7 +91,7 @@ class GetPeertubeVideos: "Attachment without file size. %s", attachment ) - if attachment[size_field] > selected[size_field]: + if int(attachment[size_field]) > int(selected[size_field]): selected = attachment if 'url' not in selected: self._log.error(