aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chocula/directories/vanished_inactive.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/chocula/directories/vanished_inactive.py b/chocula/directories/vanished_inactive.py
index 8b23525..61d6077 100644
--- a/chocula/directories/vanished_inactive.py
+++ b/chocula/directories/vanished_inactive.py
@@ -27,7 +27,8 @@ class VanishedInactiveLoader(DirectoryLoader):
def parse_record(self, record) -> Optional[DirectoryInfo]:
# HACK
- record["Title"] = record["\ufeffTitle"]
+ if "\ufeffTitle" in record:
+ record["Title"] = record["\ufeffTitle"]
if not record["Title"]:
return None