aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chocula/directories/sim.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/chocula/directories/sim.py b/chocula/directories/sim.py
index e51afa3..25495dd 100644
--- a/chocula/directories/sim.py
+++ b/chocula/directories/sim.py
@@ -59,6 +59,9 @@ class SimLoader(DirectoryLoader):
last_year = row["Last Volume"]
if last_year:
last_year = int(last_year)
+ # should be no SIM content after this year
+ if last_year > 2017:
+ last_year = 2017
extra["last_year"] = last_year
else:
last_year = None