Skip to content

Commit

Permalink
Fix bug in progress meter's finish function
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffdavis committed Jun 23, 2015
1 parent 89110e8 commit 88e6fb4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/export/dbwfserver/util.py
Expand Up @@ -70,7 +70,8 @@ def tick(self):
self.current_tick += 1
time_now=time.time()
if (
((self.tick_interval > 0) and (self.tick % self.tick_interval == 0)) or
((self.tick_interval > 0) and
(self.tick % self.tick_interval == 0)) or
(time_now - self.last_output > self.time_interval)
):
self.logger.log(self.level, self.name +
Expand Down Expand Up @@ -293,8 +294,6 @@ def _get_stachan_cache(self):
"""

debug_status_nrec = 0 # spam a status message every n records
debug_status_interval = 1 # spam a status message every n milliseconds
records = 0

self.logger.info("Stations(): update cache")
Expand Down

0 comments on commit 88e6fb4

Please sign in to comment.