From fcba6037fb74c9afc1eb4a89ce298c5c6108812d Mon Sep 17 00:00:00 2001 From: Marcos Huerta Date: Sat, 7 Aug 2021 19:42:12 -0400 Subject: [PATCH] fix horrible syntax error --- gpxcsv/__init__.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gpxcsv/__init__.py b/gpxcsv/__init__.py index f483df2..4f4f258 100644 --- a/gpxcsv/__init__.py +++ b/gpxcsv/__init__.py @@ -4,7 +4,7 @@ import json from io import StringIO -__VERSION__ = '0.2.11' +__VERSION__ = '0.2.13' def _strip_ns_prefix(tree): @@ -29,7 +29,7 @@ def _load_and_clean_gpx(gpx_file): if isinstance(gpx_file, StringIO): tree = etree.fromstring(gpx_file.getvalue().encode('ascii')) - elif gpx_file.endswith('.gz'):1 + elif gpx_file.endswith('.gz'): with gzip.open(gpx_file, 'rb') as f: tree = etree.parse(f) else: diff --git a/setup.py b/setup.py index dd3b16e..9066bae 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="gpxcsv", - version="0.2.11", + version="0.2.13", author="Marcos Huerta", author_email="marcos@marcoshuerta.com", description="Convert Garmin GPX file to CSV or simple JSON",