diff --git a/core/signals.py b/core/signals.py index 585315d9..cf9e32ef 100644 --- a/core/signals.py +++ b/core/signals.py @@ -187,9 +187,10 @@ def handle_transaction_charged(sender,transaction=None, **kwargs): new_acq = Acq.objects.create(user=transaction.user,work=transaction.campaign.work,license= transaction.offer.license) transaction.campaign.update_left() notification.send([transaction.user], "purchase_complete", {'transaction':transaction}, True) - from regluit.core.tasks import emit_notifications, watermark_acq - watermark_acq(new_acq).delay() - emit_notifications.delay() + + from regluit.core.tasks import emit_notifications, watermark_acq + watermark_acq(new_acq).delay() + emit_notifications.delay() transaction_charged.connect(handle_transaction_charged)