From 1e201e3f2683f56b0b95c09823a0e88b76244839 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 10 Mar 2023 21:20:00 +0000 Subject: [PATCH] Remove some debug statements --- core/clients/platform.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/clients/platform.py b/core/clients/platform.py index e92c3d8..d70f7cf 100644 --- a/core/clients/platform.py +++ b/core/clients/platform.py @@ -80,7 +80,6 @@ class LocalPlatformClient(ABC): if not dash: return False - print("DASH", dash) if dash["contact_count"] > 0: for contact in dash["contact_list"]: contact_id = contact["data"]["contact_id"] @@ -650,7 +649,6 @@ class LocalPlatformClient(ABC): self.instance.platform_ad_ids[ad_id] = str(ad.id) self.instance.save() - print("AD", ad_response) return ad_response async def dist_countries(self, ad, filter_asset=None): @@ -927,7 +925,6 @@ class LocalPlatformClient(ABC): Send the reference to a customer. """ if self.instance.send is True: - print("SEND IS TRUE REF") await self.api.contact_message_post( trade_id, f"When sending the payment please use reference code: {reference}", @@ -939,13 +936,10 @@ class LocalPlatformClient(ABC): """ log.info(f"Sending bank details/reference for {trade_id}") if self.instance.send is True: - print("SEND IS TRUE") account_info = self.get_matching_account_details(currency, ad) - print("ACCOUNT INFO", account_info) formatted_account_info = self.format_payment_details( currency, account_info, ad, real=True ) - print("formatted_account_info", formatted_account_info) if not formatted_account_info: log.error(f"Payment info invalid: {formatted_account_info}") return @@ -1149,13 +1143,11 @@ class LocalPlatformClient(ABC): def get_valid_account_details(self, ad): currencies = self.instance.currencies account_info = self.instance.account_info - print("GET VALID", ad) account_whitelist = ad.account_whitelist if account_whitelist: whitelist = account_whitelist.splitlines() else: whitelist = None - print("WHITELIST", whitelist) currency_account_info_map = {} for currency in currencies: for bank, accounts in account_info.items():