diff --git a/python-versions-pct.png b/python-versions-pct.png index bb83151..76357d2 100644 Binary files a/python-versions-pct.png and b/python-versions-pct.png differ diff --git a/python-versions.png b/python-versions.png index 4a538e3..5a8f189 100644 Binary files a/python-versions.png and b/python-versions.png differ diff --git a/python-versions.py b/python-versions.py index d765ee8..41855ea 100644 --- a/python-versions.py +++ b/python-versions.py @@ -85,6 +85,9 @@ def fetch_main(): db = DB() today = date.today() 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 for month in reversed(range(1, 13)): start_date = date(year, month, 1) diff --git a/python-versions.sqlite b/python-versions.sqlite index 7bebdfc..52fe8f9 100644 Binary files a/python-versions.sqlite and b/python-versions.sqlite differ