diff --git a/app/templates/home.html b/app/templates/home.html index 01f71ea..caa2aa9 100755 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -2,7 +2,7 @@ {% block main %}
-

+

Your location could not be read.
Make sure to activate GPS

diff --git a/app/views.py b/app/views.py index 10e43d4..b367631 100755 --- a/app/views.py +++ b/app/views.py @@ -74,9 +74,8 @@ def test(lng, lat): return lng +" " +lat - @app.route('/addhangout///', methods=['POST', 'GET']) -def add_hangout(lng, lat): +def add_hangout(lng = None, lat = None): upload_form = UploadLocation() longitude =lng latitude = lat