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

Fix typo in var name #11

Closed
wants to merge 1 commit into from
Closed

Fix typo in var name #11

wants to merge 1 commit into from

Conversation

astariul
Copy link

In the latest release, when running flake518 with the env variable FLAKE518_KEEPFILE set to True, I'm having the following error :

Traceback (most recent call last):
  File "C:\Users\remon\Miniconda3\envs\pytere\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\remon\Miniconda3\envs\pytere\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\remon\Miniconda3\envs\pytere\Scripts\flake518.exe\__main__.py", line 7, in <module>
  File "C:\Users\remon\Miniconda3\envs\pytere\lib\site-packages\flake518\__main__.py", line 33, in main
    run()
  File "C:\Users\remon\Miniconda3\envs\pytere\lib\site-packages\flake518\adapter.py", line 234, in run
    keep_file = _get_os_var_value("FLAKE518_KEEPFILE")
  File "C:\Users\remon\Miniconda3\envs\pytere\lib\site-packages\flake518\adapter.py", line 70, in _get_os_var_value
    return bool(flake518_dbg_env)
NameError: name 'flake518_dbg_env' is not defined

It seems to be a simple typo in the code.

@astariul astariul mentioned this pull request Feb 21, 2022
carstencodes added a commit that referenced this pull request Feb 21, 2022
Updated variable in function to fix #11
@carstencodes carstencodes mentioned this pull request Feb 21, 2022
@carstencodes
Copy link
Owner

New release is coming

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

Successfully merging this pull request may close these issues.

2 participants