Merge pull request #7367 from saurabh6790/sms_log_fix

[fix] status check fix
This commit is contained in:
Nabin Hait 2017-01-02 17:24:25 +05:30 committed by GitHub
commit b0e329b803

View File

@ -77,7 +77,7 @@ def send_via_gateway(arg):
for d in arg.get('receiver_list'):
args[ss.receiver_parameter] = d
status = send_request(ss.sms_gateway_url, args)
if status > 200 and status < 300:
if status >= 200 and status < 300:
success_list.append(d)
if len(success_list) > 0: