diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-07-24 15:34:36 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-07-24 15:34:36 -0300 |
commit | ceb912a38ba80fd6986e9e678077a86664fea920 (patch) | |
tree | 166199f0fe7d6fb537464cc693173b94334df2fc /src/leap/gui/statuspanel.py | |
parent | 18138fcda1184333e4df572da6f8e3c2c34da05c (diff) | |
parent | 69a0abef027c040b6daee1ba4c22f3d249139e7a (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.py | 3 |
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): |