def _create_if_not_exists(self): if exists(self._file_path): return dist_file = join(dirname(__file__), '..', 'resources', 'config-dist.json') copy(dist_file, self._file_path)