Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'NFT' #8

Closed
titulebolide opened this issue Jun 22, 2021 · 1 comment
Closed

KeyError: 'NFT' #8

titulebolide opened this issue Jun 22, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@titulebolide
Copy link
Owner

python -m brb snapshot
leads to

Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/srv/bot/crypto/brb/__main__.py", line 92, in <module>
    cli()
  File "/srv/bot/crypto/venv/lib/python3.7/site-packages/click/core.py", line 1134, in __call__
    return self.main(*args, **kwargs)
  File "/srv/bot/crypto/venv/lib/python3.7/site-packages/click/core.py", line 1059, in main
    rv = self.invoke(ctx)
  File "/srv/bot/crypto/venv/lib/python3.7/site-packages/click/core.py", line 1665, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/srv/bot/crypto/venv/lib/python3.7/site-packages/click/core.py", line 1401, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/srv/bot/crypto/venv/lib/python3.7/site-packages/click/core.py", line 767, in invoke
    return __callback(*args, **kwargs)
  File "/srv/bot/crypto/brb/__main__.py", line 29, in snapshot
    crypto_report = brb.crypto.get_report()
  File "/srv/bot/crypto/brb/crypto.py", line 80, in get_report
    total_usdt += balances[symbol] * tickers[symbol]
KeyError: 'NFT'
@titulebolide titulebolide added the bug Something isn't working label Jun 22, 2021
@titulebolide
Copy link
Owner Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant