Skip to content

Commit

Permalink
refactor: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
EuleMitKeule committed Mar 10, 2023
1 parent 744bfa1 commit e86f785
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion estimenergy/models/collector_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ async def get_energy(self, metric: Metric, date: datetime.date):
date = date.replace(year=year, month=month, day=1)

accuracy = await self.get_accuracy(Metric(MetricType.ACCURACY, MetricPeriod.MONTH, False, False), date)
energy_datas = await self.get_energy_datas(MetricPeriod.MONTH, date)

if not metric.is_raw and accuracy < self.min_accuracy:
missing_months += 1
Expand Down

0 comments on commit e86f785

Please sign in to comment.