Bugfix: counters for boomerang are not casted to int

When processing boomerang data, views.process_summaries fails, as
variables in "keys" dictionary are unicode objects. All values should be
timestamps from navigation timing, so casting is safe.
This commit is contained in:
Olli Jarva 2014-03-23 22:10:40 +02:00
parent fd5bfa4716
commit 4a2fbb5fac
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ def _process_boomerang(request):
continue
if k in boomerang:
process_key(start, k, v)
keys[k] = v
keys[k] = int(v)
try:
_process_summaries(start, keys)