Refactor code

This commit is contained in:
Ken Tsang
2017-06-28 12:14:36 +01:00
committed by venusbb
parent e927723726
commit 46a55c1cdb
5 changed files with 24 additions and 17 deletions

View File

@@ -23,6 +23,7 @@ from app.celery.statistics_tasks import record_initial_job_statistics, create_in
def send_sms_to_provider(notification):
service = notification.service
if not service.active:
technical_failure(notification=notification)
return