summaryrefslogtreecommitdiff
path: root/archaeological_operations/utils.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-27 12:12:30 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-27 12:12:30 +0200
commita9ed79cbbb91aabe653c196b43e753fd2dbef439 (patch)
tree107d1961156821f7159e17fb8dbcc9ffc3385cfd /archaeological_operations/utils.py
parent702337c1e0b1e8db1cc98a5d757419a269b95601 (diff)
downloadIshtar-a9ed79cbbb91aabe653c196b43e753fd2dbef439.tar.bz2
Ishtar-a9ed79cbbb91aabe653c196b43e753fd2dbef439.zip
Year limit is now 1000
Diffstat (limited to 'archaeological_operations/utils.py')
-rw-r--r--archaeological_operations/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/utils.py b/archaeological_operations/utils.py
index 40ca71c05..8afbb3be8 100644
--- a/archaeological_operations/utils.py
+++ b/archaeological_operations/utils.py
@@ -256,7 +256,7 @@ def parse_year(value):
yr = int(value)
except ValueError:
return None
- if yr < 1600 or yr > 2100:
+ if yr < 1000 or yr > 2100:
return None
return yr