From 5fc5add5c62cf889bcf5d9f205c44962bd18e6f3 Mon Sep 17 00:00:00 2001 From: Riccardo Berto Date: Mon, 1 Mar 2021 10:45:43 +0100 Subject: [PATCH] delete GPX file after processing --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 6c1fa92..3a1e0dd 100644 --- a/main.py +++ b/main.py @@ -105,6 +105,7 @@ def process_gpx_files(tx: Connection): geog=f'POINT({point.latitude} {point.longitude})', speed=point.speed, elevation=point.elevation,),) + os.remove(filepath) def main():