def read_user_config(self):
        """Parse and store the user config settings in electrum.conf into user_config[]."""
        if not self.path: return

        path = os.path.join(self.path, "config")
        if os.path.exists(path):
            try:
                with open(path, "r") as f:
                    data = f.read()
            except __HOLE__:
                return
            try:
                d = ast.literal_eval( data )  #parse raw data from reading wallet file
            except Exception:
                raise IOError("Cannot read config file.")

            self.user_config = d
dataset/ETHPy150Open bitxbay/BitXBay/electru/build/lib/electrum/simple_config.py/SimpleConfig.read_user_config