fix size
This commit is contained in:
parent
d868b59e78
commit
1b5ef500ce
1 changed files with 3 additions and 3 deletions
|
@ -66,9 +66,6 @@ class GetPeertubeVideos:
|
||||||
item['id']
|
item['id']
|
||||||
)
|
)
|
||||||
if item['id'] not in self.downloaded_items:
|
if item['id'] not in self.downloaded_items:
|
||||||
selected={
|
|
||||||
'size_in_bytes': 0,
|
|
||||||
}
|
|
||||||
if 'attachments' in item:
|
if 'attachments' in item:
|
||||||
attachments = item['attachments']
|
attachments = item['attachments']
|
||||||
size_field = 'size_in_bytes'
|
size_field = 'size_in_bytes'
|
||||||
|
@ -81,6 +78,9 @@ class GetPeertubeVideos:
|
||||||
json.dumps(item, indent=2)
|
json.dumps(item, indent=2)
|
||||||
)
|
)
|
||||||
return None
|
return None
|
||||||
|
selected={
|
||||||
|
size_field: 0,
|
||||||
|
}
|
||||||
self._log.debug(
|
self._log.debug(
|
||||||
"%s attachments (videos) for this item",
|
"%s attachments (videos) for this item",
|
||||||
len(attachments)
|
len(attachments)
|
||||||
|
|
Loading…
Reference in a new issue