Teacher convicted of innapropriate relationship