fixed string formatting error that PyLint did not detect