This commit is contained in:
monster
2019-01-01 17:11:50 +03:00
parent adc65c950a
commit 88c68449be
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -264,6 +264,9 @@ class MosruEpd(MosruBase):
if epd != []:
break
epd = self._api.get_epd(self._flat_id, date_str, False)
if len(epd) == 0:
self.log('epd not found for date: {}'.format(date_str))
continue
epd_first = epd[0]
data[date_str] = epd_first
# epd_total = epd_first['amount']