mirror of
https://github.com/fergalmoran/dss.api.git
synced 2026-01-03 15:13:57 +00:00
Fixed missing call to waveform_generated_signal
This commit is contained in:
@@ -2,6 +2,7 @@ import shutil
|
||||
from celery.task import task
|
||||
import os
|
||||
from core.utils.cdn import upload_to_azure
|
||||
from spa.signals import waveform_generated_signal
|
||||
|
||||
try:
|
||||
from django.contrib.gis.geoip import GeoIP
|
||||
@@ -24,6 +25,7 @@ def create_waveform_task(in_file, uid):
|
||||
print "Moving cache audio clip from %s to %s" % (in_file, new_file)
|
||||
shutil.move(in_file, new_file)
|
||||
print "Uid: %s" % uid
|
||||
waveform_generated_signal.send(sender=None, uid=uid)
|
||||
return new_file
|
||||
else:
|
||||
print "Outfile is missing"
|
||||
|
||||
@@ -117,6 +117,7 @@ INSTALLED_APPS = (
|
||||
'sorl.thumbnail',
|
||||
'spa',
|
||||
'tinymce',
|
||||
'gunicorn',
|
||||
'spa.signals',
|
||||
'core',
|
||||
#'schedule',
|
||||
|
||||
Reference in New Issue
Block a user