diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-07-31 15:23:17 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-08-03 10:50:14 -0700 |
commit | 99e67b079f8d3267e9bbd53bbdb9cf729be61d87 (patch) | |
tree | b05497d76de44ebbe02ab3b09f10b99bb41e3c87 /chocula/directories/sherpa_romeo.py | |
parent | 942d0243c8bb718a39a9d0f2fbfa911ce7c27443 (diff) | |
download | chocula-99e67b079f8d3267e9bbd53bbdb9cf729be61d87.tar.gz chocula-99e67b079f8d3267e9bbd53bbdb9cf729be61d87.zip |
directories: all extra metadata in top-level dict
Had been using slug-specific sub-objects, but this was too confusing.
Diffstat (limited to 'chocula/directories/sherpa_romeo.py')
-rw-r--r-- | chocula/directories/sherpa_romeo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chocula/directories/sherpa_romeo.py b/chocula/directories/sherpa_romeo.py index a8ba1b0..5618302 100644 --- a/chocula/directories/sherpa_romeo.py +++ b/chocula/directories/sherpa_romeo.py @@ -58,6 +58,6 @@ class SherpaRomeoLoader(DirectoryLoader): ) if row["RoMEO colour"]: - info.extra["sherpa_romeo"] = dict(color=row["RoMEO colour"]) + info.extra["color"] = row["RoMEO colour"] return info |