Change naming of color_mapping to tag configuration

This commit is contained in:
Marty Oehme 2022-12-25 00:33:08 +01:00
parent 1ab43a2a0e
commit ac711ce108
Signed by: Marty
GPG key ID: 73BA40D5AFAF49C9
2 changed files with 3 additions and 3 deletions

View file

@ -136,7 +136,7 @@ class ExtractPlugin(PapersPlugin):
"formatting",
"{%quote_container> {quote} %}[{page}]{%note_container{newline}Note: {note} %}{%tag_container #{tag}%}",
)
self.color_mapping = settings.get("color_mapping", {})
self.color_mapping = settings.get("tags", {})
def update_parser(self, subparsers, _):
"""Allow the usage of the pubs extract subcommand"""