diff --git a/geomagio/algorithm/AverageAlgorithm.py b/geomagio/algorithm/AverageAlgorithm.py
index ca35637ac4739b8b852d674c6d13867c76e94cc3..7222e8216bbaf2e9244c7e89edc9075e656e9e7b 100644
--- a/geomagio/algorithm/AverageAlgorithm.py
+++ b/geomagio/algorithm/AverageAlgorithm.py
@@ -76,7 +76,8 @@ class AverageAlgorithm(Algorithm):
             if ts.stats.starttime != self._stt:
                 raise AlgorithmException(
                     'Received timeseries have different starttimes')
-	    count+=1
+            count += 1
+
     def process(self, timeseries):
         """averages a channel across multiple stations