Commit 3d42c902 authored by juga's avatar juga
Browse files

Log when there are no recent results

parent 9b24a0b1
......@@ -287,6 +287,8 @@ class V3BWLine(object):
return None
results_recent = cls.results_recent_than(results_away, secs_recent)
if not results_recent:
log.debug("There are no results that are more recent than {}"
" secs".format(secs_recent))
return None
# the most recent should be the last
kwargs['desc_avg_bw_bs'] = \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment