1
0

Actually remove the old videos.

This commit is contained in:
Pierre Cazenave 2018-09-28 22:55:22 +01:00
parent 2ec429f438
commit 225da2a92e

2
dl.py
View File

@ -55,7 +55,7 @@ if __name__ == '__main__':
mtime = datetime.utcfromtimestamp(os.path.getmtime(video))
if mtime < keeptime:
print(f'Removing {str(video)}.')
# video.unlink()
video.unlink()
urls = []