If you look at your variables, you are using numbers and indexing from a list. Now look at your button.click if/else statements. You tests are asking to check the variable with an index number against a named file, instead of the index number, which is that the variable is working in.
|