pass
This commit is contained in:
parent
d3c61a3fd3
commit
195424cefb
|
|
@ -69,11 +69,12 @@ def update_call_requests_task(self):
|
||||||
service_name = call_specialities[booking['user']['doctor']['speciality']].name
|
service_name = call_specialities[booking['user']['doctor']['speciality']].name
|
||||||
|
|
||||||
for booking_service in booking['services']:
|
for booking_service in booking['services']:
|
||||||
service_code = booking_service['service']['code']
|
if booking_service['service'] is not None:
|
||||||
for regex, bot_talking in call_services.items():
|
service_code = booking_service['service']['code']
|
||||||
if re.match(regex, service_code.strip()):
|
for regex, bot_talking in call_services.items():
|
||||||
service_name = bot_talking
|
if re.match(regex, service_code.strip()):
|
||||||
break
|
service_name = bot_talking
|
||||||
|
break
|
||||||
|
|
||||||
if lpu is None or service_name is None:
|
if lpu is None or service_name is None:
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue