local variable referenced before assignment

join shbcf.ru