Skip to content

--validate option is broken #36

@cmovic

Description

@cmovic

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions