X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..e49375a84925aec73ac257c9fb4d537c5e7d0f27:/src/waiter/models.py?ds=sidebyside diff --git a/src/waiter/models.py b/src/waiter/models.py index bffaf7f8a..112e75499 100644 --- a/src/waiter/models.py +++ b/src/waiter/models.py @@ -52,7 +52,7 @@ class WaitedFile(models.Model): already = cls.exists(path) if not already: waited, created = cls.objects.get_or_create(path=path) - if created or waited.is_stale(): + if created: waited.task = task_creator(check_abspath(path), waited.pk) waited.task_id = waited.task.task_id waited.description = description