From 787640f8edb679687ee26e1bd5e076a2bd2dc77f Mon Sep 17 00:00:00 2001 From: timurhai Date: Tue, 1 Oct 2024 15:20:15 +0000 Subject: [PATCH] rules: new task flags and tags do not take them from shot --- rules/rulib/status.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rules/rulib/status.py b/rules/rulib/status.py index 417f85c10..f75bd9849 100644 --- a/rules/rulib/status.py +++ b/rules/rulib/status.py @@ -305,11 +305,11 @@ def setTask(self, name=None, tags=None, artists=None, flags=None, progress=None, # Remove status tags, artists and flags if the task has the same - for arr in ['tags','artists','flags']: - if arr in self.data and len(self.data[arr]): - for item in task[arr]: - if item in self.data[arr]: - self.data[arr].remove(item) + #for arr in ['tags','artists','flags']: + # if arr in self.data and len(self.data[arr]): + # for item in task[arr]: + # if item in self.data[arr]: + # self.data[arr].remove(item) # Set task changed. # It needed for news to know what was changed in status.