fix: Handles floats for published date
This commit is contained in:
parent
bb4d5eedbf
commit
f44d2e6426
|
|
@ -406,6 +406,9 @@ class PendingList(PendingIndex):
|
|||
if timestamp and isinstance(timestamp, int):
|
||||
return timestamp
|
||||
|
||||
if timestamp and isinstance(timestamp, float):
|
||||
return int(timestamp)
|
||||
|
||||
upload_date = video_data.get("upload_date")
|
||||
if upload_date:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in New Issue