DB config
This commit is contained in:
parent
ac9be15270
commit
562fabae1e
@ -130,6 +130,7 @@ def writeDB():
|
|||||||
def deleteFiles(filename):
|
def deleteFiles(filename):
|
||||||
try:
|
try:
|
||||||
for fname in os.listdir(path):
|
for fname in os.listdir(path):
|
||||||
|
print("sehe file:", fname)
|
||||||
if fname.startswith(filename[:-4]):
|
if fname.startswith(filename[:-4]):
|
||||||
os.remove(os.path.join(path, fname))
|
os.remove(os.path.join(path, fname))
|
||||||
print("lösche", fname)
|
print("lösche", fname)
|
||||||
|
Loading…
Reference in New Issue
Block a user