def moderate(self): t = self.get_title() idx = app.body.current() self.lock_ui(LABELS.loc.cm_info_aprv_cmt % utf8_to_unicode( BLOG.comments[idx]['content'][:15] )) BLOG.approve_comment(idx) self.unlock_ui() self.set_title( t ) self.refresh()