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

Running henry analyze command without any argument #21

Open
moseleyi opened this issue Feb 26, 2020 · 0 comments
Open

Running henry analyze command without any argument #21

moseleyi opened this issue Feb 26, 2020 · 0 comments

Comments

@moseleyi
Copy link

Not a massive issue but probably something that can be cleaned up. If we use henry analyze without anything else, we get the following error:

Traceback (most recent call last):
  File "c:\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python37\Scripts\henry.exe\__main__.py", line 7, in <module>
  File "c:\python37\lib\site-packages\henry\cli.py", line 18, in main
    analyze.Analyze.run(user_input)
  File "c:\python37\lib\site-packages\henry\commands\analyze.py", line 19, in run
    analyze.output(data=cast(fetcher.TResult, result))
UnboundLocalError: local variable 'result' referenced before assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant