It appears that the 'item' variable had been forgotten outside of the 'for' loop. To fix this issue, I moved the if checks to be inside of the for loop.
If this pull request is not appropriate for the project, please, feel free to let me know or ignore me.
It appears that the 'item' variable had been forgotten outside of the 'for' loop. To fix this issue, I moved the if checks to be inside of the for loop.
If this pull request is not appropriate for the project, please, feel free to let me know or ignore me.