mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 20:29:36 +00:00
ensure vid_type enum in __extract_vid_type
This commit is contained in:
@@ -386,7 +386,7 @@ class PendingList(PendingIndex):
|
||||
and video_data["vid_type"]
|
||||
and str(video_data["vid_type"]) in VideoTypeEnum.values_known()
|
||||
):
|
||||
return str(video_data["vid_type"])
|
||||
return VideoTypeEnum(video_data["vid_type"]).value
|
||||
|
||||
if video_data.get("live_status") == "was_live":
|
||||
return VideoTypeEnum.STREAMS.value
|
||||
|
||||
Reference in New Issue
Block a user