celery fixes
This commit is contained in:
parent
853efbba9a
commit
c55c733bcd
2 changed files with 3 additions and 3 deletions
|
|
@ -167,7 +167,7 @@ class Task(models.Model):
|
|||
job = self.get_job()
|
||||
if job:
|
||||
print(job)
|
||||
r = celery.task.control.revoke(job['id'])
|
||||
r = app.control.revoke(job['id'])
|
||||
print(r)
|
||||
for f in self.item.files.filter(encoding=True):
|
||||
f.delete()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue