DB config

This commit is contained in:
Manuel Weiser 2024-05-11 11:01:29 +02:00
parent ac9be15270
commit 562fabae1e

View File

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