fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New payment retry policy.
[wolnelektury.git]
/
src
/
waiter
/
models.py
diff --git
a/src/waiter/models.py
b/src/waiter/models.py
index
6de18d4
..
45ff80e
100644
(file)
--- a/
src/waiter/models.py
+++ b/
src/waiter/models.py
@@
-50,8
+50,8
@@
class WaitedFile(models.Model):
if not already:
waited, created = cls.objects.get_or_create(path=path)
if created:
if not already:
waited, created = cls.objects.get_or_create(path=path)
if created:
- task_creator(check_abspath(path), waited.pk)
- waited.task_id =
waited.
task.task_id
+ task
= task
_creator(check_abspath(path), waited.pk)
+ waited.task_id = task.task_id
waited.description = description
waited.save()
return reverse("waiter", args=[path])
waited.description = description
waited.save()
return reverse("waiter", args=[path])