fix overwrite none serialization
This commit is contained in:
parent
14c47695d7
commit
360c621e66
|
|
@ -326,6 +326,9 @@ class DownloadPostProcess(DownloaderBase):
|
|||
for channel_id, value in self.channel_overwrites.items():
|
||||
if "autodelete_days" in value:
|
||||
autodelete_days = value.get("autodelete_days")
|
||||
if autodelete_days is None:
|
||||
continue
|
||||
|
||||
print(f"{channel_id}: delete older than {autodelete_days}d")
|
||||
now_lte = str(self.now - autodelete_days * 24 * 60 * 60)
|
||||
must_list = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue