fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
190ea6f
)
Fix for waiter.
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 16 Oct 2020 08:10:08 +0000
(10:10 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Fri, 16 Oct 2020 08:10:08 +0000
(10:10 +0200)
src/waiter/models.py
patch
|
blob
|
history
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:
- 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])