studyunboundlocalerror local variable 'opts' referenced before assignmentShare on FacebookShare on Twitter252