fix: Handles floats for published date

This commit is contained in:
Isaac Sanders 2026-01-19 12:52:39 -06:00
parent bb4d5eedbf
commit f44d2e6426
1 changed files with 3 additions and 0 deletions

View File

@ -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: