Delete last.py

This commit is contained in:
ALittlePatate
2021-04-01 12:15:25 +02:00
committed by GitHub
parent 0bb006e7f9
commit a66fa107a9

View File

@@ -1,14 +0,0 @@
class last :
def read(self) :
with open("configs/last/last.txt", "r") as f :
for line in f :
last = line
return last
def write(self, name) :
with open("configs/last/last.txt", "a") as f :
f.seek(0)
f.truncate()
f.write(name)
f.close()