Skip to content

Commit

Permalink
🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Aug 10, 2023
1 parent 11c0c0e commit 30bbc33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions findmyorder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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):
Expand Down

0 comments on commit 30bbc33

Please sign in to comment.