diff --git a/conservancy_beancount/plugin/meta_repo_links.py b/conservancy_beancount/plugin/meta_repo_links.py index f9f281b084a1032eca811892eed84a5acdf90cb5..658bd9dbe4f6270286ec85d44dcea8053b884fd3 100644 --- a/conservancy_beancount/plugin/meta_repo_links.py +++ b/conservancy_beancount/plugin/meta_repo_links.py @@ -34,6 +34,7 @@ from typing import ( class MetaRepoLinks(core.TransactionHook): HOOK_GROUPS = frozenset(['linkcheck']) + LINK_METADATA = data.LINK_METADATA.difference('rt-id') PATH_PUNCT_RE = re.compile(r'[:/]') def __init__(self, config: configmod.Config) -> None: @@ -48,7 +49,7 @@ class MetaRepoLinks(core.TransactionHook): post: Optional[Posting]=None, ) -> errormod.Iter: metadata = data.Metadata(meta) - for key in data.LINK_METADATA: + for key in self.LINK_METADATA: try: links = metadata.get_links(key) except TypeError: