view deleteautosave.py @ 56:bde647ac9554

Update kemonopartydownloader.py uses new zip type google drive folder downloading "because it's easier" committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Mon, 16 Aug 2021 23:02:23 -0400
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)