Skip to content

Commit

Permalink
Fix issue whittlem#200 1INCH ticker is not recognized (whittlem#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
iThom authored May 19, 2021
1 parent e966c99 commit ee8a583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/config/binance_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def isMarketValid(market):
if market == None:
return False
p = re.compile(r"^[A-Z]{6,12}$")
p = re.compile(r"^[0-9A-Z]{6,12}$")
return p.match(market)

def parseMarket(market):
Expand Down Expand Up @@ -156,4 +156,4 @@ def parser(app, binance_config, args = {}):
app.smart_switch = 0

else:
raise Exception('There is an error in your config dictionnary')
raise Exception('There is an error in your config dictionnary')

0 comments on commit ee8a583

Please sign in to comment.