直播状态抖动问题

This commit is contained in:
Jerry Yan 2022-07-26 11:08:43 +08:00
parent f066dd779d
commit 880b129e63

View File

@ -56,8 +56,9 @@ class Bilibili:
:type no_reprint: int
"""
self.pre_upload(parts)
self.finish_upload(title, tid, tag, desc, source, cover, no_reprint)
self.clear()
if not IS_LIVING.is_set():
self.finish_upload(title, tid, tag, desc, source, cover, no_reprint)
self.clear()
def pre_upload(self, parts: "VideoPart", max_retry=5):
"""