fix tag check

This commit is contained in:
2024-11-12 17:35:11 +08:00
parent afc31430e7
commit cbb15e6a33
+2 -1
View File
@@ -157,6 +157,7 @@ class ProcessBsky:
@property @property
def _sensitive(self) -> bool: def _sensitive(self) -> bool:
return any( return any(
tag in self._bsky['labels'] tag in label['val']
for label in self._bsky['labels']
for tag in SENSITIVE_TAG for tag in SENSITIVE_TAG
) )