We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eebb94 commit 459517dCopy full SHA for 459517d
1 file changed
bin/recategorize-messages.py
@@ -156,8 +156,8 @@ def session_factory():
156
category.name for category in message.categories if category.name
157
)
158
if old_categories != new_categories:
159
- if only_categories and not new_categories & only_categories.split(
160
- ","
+ if only_categories and not new_categories & set(
+ only_categories.split(",")
161
):
162
session.rollback()
163
continue
0 commit comments