From 83396ef8a0660bd319bccbdb5f3260832ce5e13f Mon Sep 17 00:00:00 2001 From: matic_t Date: Thu, 6 Aug 2020 05:40:26 -0700 Subject: [PATCH] ups --- src/model/entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/entry.py b/src/model/entry.py index 6f305e1..dee3b39 100644 --- a/src/model/entry.py +++ b/src/model/entry.py @@ -32,7 +32,7 @@ class Entry(Data): comment = entry_xml.querySelector("head comment") self.status = status.textContent if status else "" self.headword = headword.textContent if headword else "" - self.headword_type = headword.getAttribute("type") if .hasAttribute("type") else None + self.headword_type = headword.getAttribute("type") if headword.hasAttribute("type") else None self.headword_audio = headword.getAttribute("audio") if headword.hasAttribute("audio") else None self.grammar = grammar.textContent if grammar else "" self.comment = comment.textContent if comment else ""