mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 06:05:57 +01:00
Update offenbach_de.py (#1502)
* Update offenbach_de.py Fixed a typing issue when a new year comes. * Update offenbach_de.py Appending instead of reassigning.
This commit is contained in:
@@ -32,7 +32,7 @@ class Source:
|
||||
|
||||
entries = self.fetch_year(now.year)
|
||||
if now.month == 12:
|
||||
entries.append(self.fetch_year(now.year + 1))
|
||||
entries += self.fetch_year(now.year + 1)
|
||||
return entries
|
||||
|
||||
def fetch_year(self, year):
|
||||
|
||||
Reference in New Issue
Block a user