Skip to content

Commit

Permalink
fixes ccxt#65 examples availaible → available typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Jul 28, 2017
1 parent 10f179a commit baec8b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/js/balances.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ let sleep = (ms) => new Promise (resolve => setTimeout (resolve, ms));
log.bright.yellow ('[Timeout Error] ' + e.message)
} else if (e instanceof ccxt.AuthenticationError) {
log.bright.yellow ('[Authentication Error] ' + e.message)
} else if (e instanceof ccxt.MarketNotAvailaibleError) {
} else if (e instanceof ccxt.MarketNotAvailableError) {
log.bright.yellow ('[Market Not Available Error] ' + e.message)
} else {
throw e;
Expand Down
2 changes: 1 addition & 1 deletion examples/py/balances.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def dump (*args):
print (type (e).__name__, e.args, 'DDoS Protection Error (ignoring)')
except ccxt.TimeoutError as e:
print (type (e).__name__, e.args, 'Timeout Error, request timed out (ignoring)')
except ccxt.MarketNotAvailaibleError as e:
except ccxt.MarketNotAvailableError as e:
print (type (e).__name__, e.args, 'Market Not Available Error due to downtime or maintenance (ignoring)')
except ccxt.AuthenticationError as e:
print (type (e).__name__, e.args, 'Authentication Error (missing API keys, ignoring)')
2 changes: 1 addition & 1 deletion examples/py/tickers.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def print_ticker (market, symbol):
print (type (e).__name__, e.args, 'DDoS Protection Error (ignoring)')
except ccxt.TimeoutError as e:
print (type (e).__name__, e.args, 'Timeout Error, request timed out (ignoring)')
except ccxt.MarketNotAvailaibleError as e:
except ccxt.MarketNotAvailableError as e:
print (type (e).__name__, e.args, 'Market Not Available Error due to downtime or maintenance (ignoring)')
except ccxt.AuthenticationError as e:
print (type (e).__name__, e.args, 'Authentication Error (missing API keys, ignoring)')
Expand Down

0 comments on commit baec8b3

Please sign in to comment.