Skip to content

Commit 33ee74e

Browse files
committed
Fix sms variables check
1 parent bcb887b commit 33ee74e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pysendpulse/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
__author_email__ = '[email protected]'
33
__copyright__ = 'Copyright 2017, SendPulse'
44
__credits__ = ['Maksym Ustymenko', ]
5-
__version__ = '0.0.9'
5+
__version__ = '0.1.0'

pysendpulse/pysendpulse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ def sms_update_phones_variables(self, addressbook_id, phones, variables):
870870
871871
@return: dictionary with response message
872872
"""
873-
if not addressbook_id or not phones or variables:
873+
if not addressbook_id or not phones or not variables:
874874
return self.__handle_error("Empty addressbook id or phones or variables")
875875
try:
876876
phones = json.dumps(phones)

0 commit comments

Comments
 (0)