From 4cff530fa3a49e845a2c21bbc85d74a92a3e2b06 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 15 May 2019 10:47:26 -0700 Subject: fix lint bugs in parsers --- python/parse_jalc_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/parse_jalc_xml.py') 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: -- cgit v1.2.3