Skip to content

Commit 7def79e

Browse files
committed
Update Campaign.py
1 parent 852e8ec commit 7def79e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nevada/API/Campaign.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get(self, campaignId: str, format=True) -> CampaignObject:
7373
camp = CampaignObject(result)
7474
return camp
7575
else:
76-
print('Please Check the input value of format.')
76+
print(CommonFunctions.error_message('001'))
7777

7878
def list_by_ids(self, ids: CampaignIdList, format=True) -> CampaignList:
7979
ids = ",".join(ids)
@@ -88,7 +88,7 @@ def list_by_ids(self, ids: CampaignIdList, format=True) -> CampaignList:
8888
camp_list.append(camp)
8989
return camp_list
9090
else:
91-
print('Please Check the input value of format.')
91+
print(CommonFunctions.error_message('001'))
9292

9393
def list_by_customer_id_or_campaign_type(self, campaignType: str = None, baseSearchId: str = None, recordSize: int = None,
9494
selector: str = None, format=True) -> CampaignList:
@@ -104,7 +104,7 @@ def list_by_customer_id_or_campaign_type(self, campaignType: str = None, baseSea
104104
camp_list.append(camp)
105105
return camp_list
106106
else:
107-
print('Please Check the input value of format.')
107+
print(CommonFunctions.error_message('001'))
108108

109109
def create(self, campaign_add_object: CampaignAddObject):
110110

0 commit comments

Comments
 (0)