diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-02-15 22:36:11 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-02-15 22:36:11 +0100 |
commit | 83dcaf4c1eb7e735f9b07e9766c4f4aac61b138a (patch) | |
tree | 26b83dcad362a2a663e19007528fdbeb54885451 | |
parent | db470d5f6f9c543a105ef34553beaa74870c3fa8 (diff) | |
download | fietsboek-83dcaf4c1eb7e735f9b07e9766c4f4aac61b138a.tar.gz fietsboek-83dcaf4c1eb7e735f9b07e9766c4f4aac61b138a.tar.bz2 fietsboek-83dcaf4c1eb7e735f9b07e9766c4f4aac61b138a.zip |
actually save transformed GPX after upload
-rw-r--r-- | fietsboek/actions.py | 1 |
1 files changed, 1 insertions, 0 deletions
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( |