Bump data.
This commit is contained in:
parent
4be93adca9
commit
eca30e66d9
Binary file not shown.
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 74 KiB |
Binary file not shown.
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 50 KiB |
|
@ -85,6 +85,9 @@ def fetch_main():
|
||||||
db = DB()
|
db = DB()
|
||||||
today = date.today()
|
today = date.today()
|
||||||
for year_in_the_past in count():
|
for year_in_the_past in count():
|
||||||
|
if year_in_the_past < 2017:
|
||||||
|
# There's no data before 2017.
|
||||||
|
return
|
||||||
year = today.year - year_in_the_past
|
year = today.year - year_in_the_past
|
||||||
for month in reversed(range(1, 13)):
|
for month in reversed(range(1, 13)):
|
||||||
start_date = date(year, month, 1)
|
start_date = date(year, month, 1)
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue