aboutsummaryrefslogtreecommitdiffstats
path: root/python/parse_jalc_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/parse_jalc_xml.py')
-rw-r--r--python/parse_jalc_xml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/parse_jalc_xml.py b/python/parse_jalc_xml.py
index 7df79421..d7817df9 100644
--- a/python/parse_jalc_xml.py
+++ b/python/parse_jalc_xml.py
@@ -94,7 +94,7 @@ class JalcXmlParser():
if date:
date = date.string
if len(date) is 10:
- release_date = datetime.datetime.strptime(state['completed-date'], DATE_FMT).date()
+ release_date = datetime.datetime.strptime(date['completed-date'], DATE_FMT).date()
release_year = release_date.year
release_date = release_date.isoformat()
elif len(date) is 4: