remove unused annotation.tasks.update_matches

This commit is contained in:
j 2016-09-06 00:19:36 +02:00
parent 4d1711cb01
commit 844d1697bd
1 changed files with 0 additions and 9 deletions

View File

@ -11,15 +11,6 @@ from celery.task import task
from .models import Annotation
@task(ignore_results=True, queue='default')
def update_matches(id, type):
try:
a = Annotation.objects.get(pk=id)
except Annotation.DoesNotExist:
a = None
if a:
a.update_matches()
@task(ignore_results=False, queue='default')
def add_annotations(data):
from item.models import Item