Commit 88eb7ef5 authored by juga's avatar juga
Browse files

chg: v3bwfile: Stop making mean minimum 1

parent c030731e
......@@ -902,7 +902,8 @@ class V3BWLine(object):
if r.relay_observed_bandwidth is not None:
if desc_bw_obs_ls:
return max(round(mean(desc_bw_obs_ls)), 1)
return round(mean(desc_bw_obs_ls))
log.warning("Descriptor observed bandwidth is None.")
return None
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