Skip to content

Commit

Permalink
fix horrible syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
astrowonk committed Aug 7, 2021
1 parent ef19f37 commit fcba603
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gpxcsv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import json
from io import StringIO

__VERSION__ = '0.2.11'
__VERSION__ = '0.2.13'


def _strip_ns_prefix(tree):
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fcba603

Please sign in to comment.