Refactor code

This commit is contained in:
Ken Tsang
2017-07-06 12:27:57 +01:00
committed by venusbb
parent e927723726
commit 46a55c1cdb
5 changed files with 24 additions and 17 deletions
+1
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