Skip to content

Commit

Permalink
increase current month value
Browse files Browse the repository at this point in the history
  • Loading branch information
rrada committed Mar 16, 2012
1 parent f75960d commit e16068d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions houseagent/core/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ def _aggregate_year(self, val_id):
self.dba.close() # close old DB
self.dba = DatabaseArchive(conf.general.dbpatharchive, \
conf.general.dbfile, [])
# increase current month value
self.cur_month = next_month


def do(self, result):
Expand Down

0 comments on commit e16068d

Please sign in to comment.