From 30bbc33406351eb7d41f2c386c070d41eb1da07c Mon Sep 17 00:00:00 2001 From: mraniki <8766259+mraniki@users.noreply.github.com> Date: Thu, 10 Aug 2023 15:39:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- findmyorder/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/findmyorder/main.py b/findmyorder/main.py index c3736b1f..cbea20ef 100644 --- a/findmyorder/main.py +++ b/findmyorder/main.py @@ -36,7 +36,7 @@ async def search( """Search an order.""" if my_string: string_check = my_string.split()[0].lower() - self.debug(string_check) + self.logger.debug(string_check) if string_check in settings.action_identifier.lower(): return True return False @@ -94,7 +94,7 @@ async def identify_order( ) order = order_grammar.parse_string(instring=my_string, parse_all=False) - self.debug(order) + self.logger.debug(order) return order.asDict() except Exception as e: @@ -115,7 +115,7 @@ async def get_order( if order["instrument"] in settings.ignore_instrument: """ignoring instrument""" return - self.debug(order) + self.logger.debug(order) return order async def replace_instrument(self, order):