view deleteautosave.py @ 61:c615532e6572

Update channeldownloader.py add option to use the split files instead of the full json committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sun, 02 Jan 2022 07:09:55 -0500
parents 2aa9614cb39a
children
line wrap: on
line source

import os

for file in os.listdir("./"):
    name = os.path.splitext(file)[0][:-16][-8:]
    if name == "AutoSave":
        os.remove(file)