diff --git a/repo_cloner/lib/repo_dir_structure.py b/repo_cloner/lib/repo_dir_structure.py index 805795f..552e56b 100644 --- a/repo_cloner/lib/repo_dir_structure.py +++ b/repo_cloner/lib/repo_dir_structure.py @@ -85,7 +85,7 @@ class RepoDirStructure(): @property def config(self) -> ClonerConfig: - self.has_config + assert self.has_config if not self._config: parser = ClonerConfigParser(self.__config_filename) self._config = parser.config