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

--validate option is broken #36

Open
cmovic opened this issue Jan 31, 2024 · 0 comments
Open

--validate option is broken #36

cmovic opened this issue Jan 31, 2024 · 0 comments

Comments

@cmovic
Copy link
Contributor

cmovic commented Jan 31, 2024

Running with --validate does the following:

C:\Users\cmovi\AppData\Local\Programs\Python\Python39\python.exe C:/Users/cmovi/Documents/github/cmovic-fplan/src/fplan/fplan.py ..\..\examples\sample.toml --validate
Traceback (most recent call last):
  File "C:\Users\cmovi\Documents\github\cmovic-fplan\src\fplan\fplan.py", line 510, in <module>
    main()
  File "C:\Users\cmovi\Documents\github\cmovic-fplan\src\fplan\fplan.py", line 506, in main
    for y in range(1,nyears):
NameError: name 'nyears' is not defined

Should this be fixed? It doesn't appear to do anything - if that's the case can it be removed?

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