From bf65d028f17c6158d5b63eeed42a64a6e8b4edc2 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 10 Mar 2023 15:06:25 +0000 Subject: [PATCH] Fix whitelist bug --- core/clients/platform.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/clients/platform.py b/core/clients/platform.py index d74007b..d9d7b09 100644 --- a/core/clients/platform.py +++ b/core/clients/platform.py @@ -715,6 +715,8 @@ class LocalPlatformClient(ABC): if provider not in self.instance.ads_providers: continue if currency in supported_currencies: + if currency not in account_info: + continue rtrn = await self.create_ad( asset, countrycode,