Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
improve logging
  • Loading branch information
ExpDev07 committed Mar 23, 2020
commit cc28b516c8aff42ed11f61eea6d201e2b1a0fb41
2 changes: 1 addition & 1 deletion app/routes/v2/locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def locations():
try:
locations = [j for j in locations if getattr(j, i) == args.get(i, type=str)]
except AttributeError:
print('TimelinedLocation object does not have attribute {}.'.format(i))
print('Location does not have attribute {}.'.format(i))

# Serialize each location and return.
return jsonify({
Expand Down