diff --git a/examples/py/exchanges.py b/examples/py/exchanges.py index a2df60b282769..caf13fefa7476 100644 --- a/examples/py/exchanges.py +++ b/examples/py/exchanges.py @@ -25,7 +25,7 @@ def underline(s): return style(s, '\033[4m') def log(*args): print(' '.join([str(arg) for arg in args])) -log('The ccxt library supports', green(len(ccxt.exchanges)), 'exchanges:') +log('The ccxt library supports', green(str(len(ccxt.exchanges))), 'exchanges:') # output a table of all exchanges log(pink('{:<15} {:<15} {:<15}'.format('id', 'name', 'URL')))