view deleteautosave.py @ 38:310a73329fa4

Update updatechromium.py unnecessary because pacman does that by itself committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Mon, 21 Jun 2021 10:26:44 -0400
parents b5cf08125fd5
children 2aa9614cb39a
line wrap: on
line source

import os, sys

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