Skip to content

Commit cc28b51

Browse files
author
ExpDev07
committed
improve logging
1 parent 06c39eb commit cc28b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/v2/locations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def locations():
1717
try:
1818
locations = [j for j in locations if getattr(j, i) == args.get(i, type=str)]
1919
except AttributeError:
20-
print('TimelinedLocation object does not have attribute {}.'.format(i))
20+
print('Location does not have attribute {}.'.format(i))
2121

2222
# Serialize each location and return.
2323
return jsonify({

0 commit comments

Comments
 (0)