Skip to content

Commit

Permalink
elevation shown correctly when crossing from 900 to 1000 ft (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
louking committed Nov 26, 2022
1 parent 3bccff7 commit f7e546d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runningroutes/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# this string is used for the version string in the documentation, as well as the egg
# See https://packaging.python.org/guides/distributing-packages-using-setuptools/#semantic-versioning-preferred
__version__ = '2.2.0'
__version__ = '2.2.1.dev1'
__docversion__ = __version__
# uncomment for development
# __docversion__ = 'latest'
2 changes: 1 addition & 1 deletion runningroutes/views/frontend/frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def _retrieverows(self, thisid):
# else:
# ele = +row['ele'] * ftpermeter;

justpath.append( [row['lat'], row['lng'], '{0:.1f}'.format(ele)] )
justpath.append( [row['lat'], row['lng'], float('{0:.1f}'.format(ele))] )

return jsonify({'status' : 'success', 'path':justpath})

Expand Down

0 comments on commit f7e546d

Please sign in to comment.