convert strings

This commit is contained in:
Antonio J. Delgado 2024-12-28 19:32:04 +02:00
parent 1b5ef500ce
commit 738eae5bdb

View file

@ -91,7 +91,7 @@ class GetPeertubeVideos:
"Attachment without file size. %s", "Attachment without file size. %s",
attachment attachment
) )
if attachment[size_field] > selected[size_field]: if int(attachment[size_field]) > int(selected[size_field]):
selected = attachment selected = attachment
if 'url' not in selected: if 'url' not in selected:
self._log.error( self._log.error(