(self, *, path)
| 59 | raise Exception(f'Cannot read {config_ini_path} file.') |
| 60 | |
| 61 | def read_value_by_path(self, *, path): |
| 62 | value = self._read_config_ini_value(config_ini=self.config_ini, path=path) |
| 63 | if value.lower() == 'true': |
| 64 | return True |
| 65 | if value.lower() == 'false': |
| 66 | return False |
| 67 | else: |
| 68 | return value |
| 69 | |
| 70 | def _read_config_ini_value(self, *, config_ini, path): |
| 71 | item = path.pop(0) |
no test coverage detected