From e0c73c01a896112ffd06a565c63f5f83971368e9 Mon Sep 17 00:00:00 2001 From: ManuelW Date: Sat, 11 May 2024 10:53:05 +0200 Subject: [PATCH] DB config --- parseFitFiles.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parseFitFiles.py b/parseFitFiles.py index 6f1406d..01617d2 100644 --- a/parseFitFiles.py +++ b/parseFitFiles.py @@ -129,7 +129,8 @@ def writeDB(): def deleteFiles(filename): try: - file = filename.remove(ext) + file = filename[:-3] + print(file) os.unlink(path+file+".*") print("lösche", file) except Exception as e: