Removed an unused local variable, fixes a flake8 error