Do not fetch marked redfams from db
Exclude marked Redfams from DB-Query to prevent marking them again Related Task: [FS#138](https://fs.golderweb.de/index.php?do=details&task_id=138)
This commit is contained in:
@@ -699,6 +699,7 @@ class RedFamWorker( RedFam ):
|
||||
# RedFamWorker._status.like('archived'),
|
||||
# RedFamWorker._status.like("%{0:s}%".format(status)),
|
||||
text("status LIKE '%archived%'"),
|
||||
text("status NOT LIKE '%marked%'"),
|
||||
RedFamWorker.ending >= ending ):
|
||||
|
||||
yield redfam
|
||||
|
||||
Reference in New Issue
Block a user