diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-09-10 14:20:14 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-09-10 14:20:14 +0300 |
commit | 444ec48edc2323d82818195709bce66db7b1ef8b (patch) | |
tree | 8c71cb86dfaab26152615a80b14f211ed8fab2ab /servo | |
parent | f6a1cc21b14087796a5f0911061c2c75bcd6b1dd (diff) | |
download | Servo-444ec48edc2323d82818195709bce66db7b1ef8b.tar.gz Servo-444ec48edc2323d82818195709bce66db7b1ef8b.tar.bz2 Servo-444ec48edc2323d82818195709bce66db7b1ef8b.zip |
Fix stats session KeyError
Diffstat (limited to 'servo')
-rw-r--r-- | servo/views/stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/views/stats.py b/servo/views/stats.py index 0822373..9b79603 100644 --- a/servo/views/stats.py +++ b/servo/views/stats.py @@ -112,7 +112,7 @@ def data(request, query): report, what = query.split('/') locations = request.user.locations - params = request.session['stats_filter'] + params = request.session.get('stats_filter') timescale = params.get('timescale', default_timescale) location = params.get('location', request.user.location) |