From 83dcaf4c1eb7e735f9b07e9766c4f4aac61b138a Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 15 Feb 2023 22:36:11 +0100 Subject: actually save transformed GPX after upload --- fietsboek/actions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fietsboek/actions.py b/fietsboek/actions.py index 7a69913..a5ba8a0 100644 --- a/fietsboek/actions.py +++ b/fietsboek/actions.py @@ -96,6 +96,7 @@ def add_track( for transformer in transformers: LOGGER.debug("Running %s with %r", transformer, transformer.parameters) transformer.execute(gpx) + manager.compress_gpx(gpx.to_xml().encode("utf-8")) track.transformers = [[tfm.identifier(), tfm.parameters.dict()] for tfm in transformers] manager.engrave_metadata( -- cgit v1.2.3