aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQrius <[email protected]>2025-04-23 16:06:48 +0200
committerQrius <[email protected]>2025-04-23 16:06:51 +0200
commit34f0cf570febcc83df8aa3fde314267fbbc277e1 (patch)
tree0ba0666d67a77cc70dec087d3d4f04c448fbc61e /src
parentf0a3cbf223054c6c416c3355eaecf0b2f91450d0 (diff)
downloadskaldpress-34f0cf570febcc83df8aa3fde314267fbbc277e1.tar.gz
skaldpress-34f0cf570febcc83df8aa3fde314267fbbc277e1.zip
Add missing condition to file filter
Diffstat (limited to 'src')
-rw-r--r--src/skaldpress/macros.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/skaldpress/macros.py b/src/skaldpress/macros.py
index 9d06505..4c39108 100644
--- a/src/skaldpress/macros.py
+++ b/src/skaldpress/macros.py
@@ -18,6 +18,12 @@ def sp_all_tagged_by(
for k, v in macro_processor.py_global_env["macro_processor_state"].items()
if f"{macro_processor._get_macro_with_prefix('metadata_prefix')}tags"
in v["stored_data"]
+ and (
+ tag
+ in v["stored_data"][
+ f"{macro_processor._get_macro_with_prefix('metadata_prefix')}tags"
+ ]
+ )
]
if len(tagged_files) == 0: