Skip to content

Commit

Permalink
Workaround for apprise tag detection
Browse files Browse the repository at this point in the history
Our coins representation became an open html tag by the
recent apprise version's opinion. We should retreat.
  • Loading branch information
idkravitz authored and edeng23 committed Jun 8, 2021
1 parent 05279db commit 431331b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binance_trade_bot/models/coin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __add__(self, other):
raise TypeError(f"unsupported operand type(s) for +: 'Coin' and '{type(other)}'")

def __repr__(self):
return f"<{self.symbol}>"
return f"[{self.symbol}]"

def info(self):
return {"symbol": self.symbol, "enabled": self.enabled}

0 comments on commit 431331b

Please sign in to comment.