aaron-schroeder / distilling-flask

Strava app for display and analysis of personal running data, powered by Flask, Dash, and Pandas.
MIT License
3 stars 0 forks source link

AttributeError when trying to manually access a saved activity that doesn't exist #64

Open aaron-schroeder opened 1 year ago

aaron-schroeder commented 1 year ago

eg if I went to the url /saved/9999, the server has the following error:

  File "/home/aaron/aaron-schroeder/distilling-flask-deploy/application/plotlydash/pages/dashboard_db.py", line 32, in layout
    activity.strava_id,
AttributeError: 'NoneType' object has no attribute 'strava_id'