From ed3a0ca0848757fa42ebbf53391bb607daaee851 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 23 Apr 2022 18:13:21 +0100 Subject: [PATCH] Fix provider in LBTC ad creation --- handler/lib/localbitcoins_py.py | 1 - handler/sources/localbitcoins.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/handler/lib/localbitcoins_py.py b/handler/lib/localbitcoins_py.py index 6ef8ab2..5dddf1e 100644 --- a/handler/lib/localbitcoins_py.py +++ b/handler/lib/localbitcoins_py.py @@ -143,7 +143,6 @@ class LocalBitcoins: result["message"] = "OK" else: result["message"] = "API ERROR" - # print("RESP", result) return result except requests.ConnectionError as error: diff --git a/handler/sources/localbitcoins.py b/handler/sources/localbitcoins.py index 1051572..3d902ce 100644 --- a/handler/sources/localbitcoins.py +++ b/handler/sources/localbitcoins.py @@ -518,7 +518,7 @@ class LBTC(util.Base): "price_equation": price_formula, "track_max_amount": False, "require_trusted_by_advertiser": False, - "online_provider": provider, + "online_provider": self.map_provider(provider, reverse=True), "display_reference": False, } if visible is False: