]> git.ipfire.org Git - people/jschlag/pbs.git/blobdiff - src/buildservice/__init__.py
Fix typo
[people/jschlag/pbs.git] / src / buildservice / __init__.py
index f7035005bd9948bc63c53c60d9ad85fddbe4e725..30a07304e5bd3c52bdb27f01260e9fb317013562 100644 (file)
@@ -134,7 +134,7 @@ class Backend(object):
 
        def cleanup_files(self):
                query = self.db.query("SELECT * FROM queue_delete \
-                       WHERE (not_before IS NULL OR not_before >= NOW())")
+                       WHERE (not_before IS NULL OR not_before <= NOW())")
 
                for row in query:
                        if not row.path: