Delete last.py

This commit is contained in:
ALittlePatate
2021-04-11 12:39:00 +02:00
committed by GitHub
parent 7e1bf7c899
commit 1309049620

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()