view deleteautosave.py @ 62:8be9281d7ade

Add `qbittorrent_update.py` yes, there is a long ass line. no, i don't want to shrink it committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sun, 30 Jan 2022 20:31:44 -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)