There should be a default 'else' when checking system platform
Bug #1605401 reported by
Alejandro Carrillo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyflashcards |
New
|
Undecided
|
Unassigned |
Bug Description
Hello! Right now in the 'configure.py' there's no 'else' case when trying to set the `ROOT` variable. So if your platform is neither 'linux2' nor 'darwin' nor 'win32,' ROOT is never set and the program will fail.
I found this by being on platform 'cygwin'. I fixed it locally by making the 'if' for 'win32' at L28 into an 'elif' and adding an 'else' case.
To post a comment you must log in.