def do_unban(self, session, line): try: Update.unbanPlayer(line.lower()) session.push(tpl.UNBAN % line) except: session.push(tpl.UNBAN_ERR)