Fixed conflicting variables

Conflicting use of sleep as both an int var and the Python sleep
function