convert strings
This commit is contained in:
parent
1b5ef500ce
commit
738eae5bdb
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue