local variable referenced before assignment

welcome to shbcf.ru