def __init__(self, api_key=None): #PyPI project name with proper case self.options = None self.logger = logging.getLogger("jindo") self.ansi = True if api_key: self.api_key = api_key else: #Obviously not going to work if we add more options. self.api_key = get_rc_file().split("=")[1].strip() self.jindo = JindoProxy()
def __init__(self): #PyPI project name with proper case self.options = None self.logger = logging.getLogger("jindo") self.api_key = get_rc_file().split("=")[1].strip()