def _load_assets(self):
        try:
            with open(self.config['STATS_FILE']) as f:
                return json.load(f)
        except __HOLE__:
            raise IOError(
                'Error reading {0}. Are you sure webpack has generated '
                'the file and the path is correct?'.format(
                    self.config['STATS_FILE']))
dataset/ETHPy150Open owais/django-webpack-loader/webpack_loader/loader.py/WebpackLoader._load_assets