Clear set each time the extraction changes

This commit is contained in:
taizan-hokuto
2020-09-12 01:57:55 +09:00
parent f77a2c889b
commit ecd2d130bf

View File

@@ -53,6 +53,7 @@ def _split(start, end, count, min_interval_sec=120):
def ready_blocks(video_id, duration, div, callback): def ready_blocks(video_id, duration, div, callback):
param_set.clear()
if div <= 0: if div <= 0:
raise ValueError raise ValueError