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 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(
|
||||||
|
|
Loading…
Reference in a new issue