Skip to content

Commit 0e026aa

Browse files
authored
Merge pull request #65 from cevi/dev
fix #64: Failing GPX file in v2.2.0
2 parents 01d48af + 0e3bc3e commit 0e026aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python_program/automatic_walk_time_tables/utils/file_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def parse_gpx_file(gpx_raw_data : TextIOWrapper) -> path.Path_LV03:
2727
raise Exception('No track found')
2828

2929
lv03_path = paths[0].to_LV03()
30-
lv03_path.route_name = gpx.name
30+
lv03_path.route_name = gpx.name if gpx.name else ""
3131
if not lv03_path.has_elevation_for_all_points():
3232
lv03_path = height_fetcher.height_fetch_path(lv03_path)
3333
else:

webinterface/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "automatic-walk-time-tables",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",

0 commit comments

Comments
 (0)