summaryrefslogtreecommitdiff
path: root/src/leap/gui/statuspanel.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-07-24 15:34:36 -0300
committerTomás Touceda <chiiph@leap.se>2013-07-24 15:34:36 -0300
commitceb912a38ba80fd6986e9e678077a86664fea920 (patch)
tree166199f0fe7d6fb537464cc693173b94334df2fc /src/leap/gui/statuspanel.py
parent18138fcda1184333e4df572da6f8e3c2c34da05c (diff)
parent69a0abef027c040b6daee1ba4c22f3d249139e7a (diff)
Merge remote-tracking branch 'kali/feature/check-already-running' into develop
Diffstat (limited to 'src/leap/gui/statuspanel.py')
-rw-r--r--src/leap/gui/statuspanel.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/gui/statuspanel.py b/src/leap/gui/statuspanel.py
index 04fc6818..ac0f5162 100644
--- a/src/leap/gui/statuspanel.py
+++ b/src/leap/gui/statuspanel.py
@@ -45,6 +45,9 @@ class RateMovingAverage(object):
"""
Initializes an empty array of fixed size
"""
+ self.reset()
+
+ def reset(self):
self._data = [None for i in xrange(self.SAMPLE_SIZE)]
def append(self, x):