fplan icon indicating copy to clipboard operation
fplan copied to clipboard

--validate option is broken

Open cmovic opened this issue 5 months ago • 0 comments

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?

cmovic avatar Jan 31 '24 04:01 cmovic