def load(self):
    if (not os.path.isfile(CONFIG_FILE_PATH)):
        return
    with open(CONFIG_FILE_PATH, 'r') as config_file:
        config_dict = json.load(config_file)
    if (GENERAL_OPTION_KEY in config_dict):
        for option_key in config_dict[GENERAL_OPTION_KEY]:
            self.general_options[option_key] = Option(config_dict[GENERAL_OPTION_KEY][option_key], self.__get_label(option_key))
    if (CRYPTO_CURRENCY_OPTION_KEY in config_dict):
        for crypto_currency in config_dict[CRYPTO_CURRENCY_OPTION_KEY]:
            if (crypto_currency not in self.crypto_currency_options):
                self.crypto_currency_options[crypto_currency] = {}
            for option_key in config_dict[CRYPTO_CURRENCY_OPTION_KEY][crypto_currency]:
                self.crypto_currency_options[crypto_currency][option_key] = Option(config_dict[CRYPTO_CURRENCY_OPTION_KEY][crypto_currency][option_key], self.__get_label(option_key))
def load(self):
    if (not os.path.isfile(CONFIG_FILE_PATH)):
        return
    with open(CONFIG_FILE_PATH, 'r') as config_file:
        config_dict = json.load(config_file)
    if (GENERAL_OPTION_KEY in config_dict):
        for option_key in config_dict[GENERAL_OPTION_KEY]:
            self.general_options[option_key] = Option(config_dict[GENERAL_OPTION_KEY][option_key], self.__get_label(option_key))
    if (CRYPTO_CURRENCY_OPTION_KEY in config_dict):
        for crypto_currency in config_dict[CRYPTO_CURRENCY_OPTION_KEY]:
            if (crypto_currency not in self.crypto_currency_options):
                self.crypto_currency_options[crypto_currency] = {}
            for option_key in config_dict[CRYPTO_CURRENCY_OPTION_KEY][crypto_currency]:
                self.crypto_currency_options[crypto_currency][option_key] = Option(config_dict[CRYPTO_CURRENCY_OPTION_KEY][crypto_currency][option_key], self.__get_label(option_key))