diff --git a/npbackup/core/runner.py b/npbackup/core/runner.py index b29313d..db2f825 100644 --- a/npbackup/core/runner.py +++ b/npbackup/core/runner.py @@ -951,7 +951,7 @@ class NPBackupRunner: @apply_config_to_restic_runner def init(self) -> bool: self.write_logs( - f"Initializing repo {self.repo_config.g('name')}", level="info" + f"Initializing repo {self.repo_config.g('name')}", level="info" ) return self.restic_runner.init() diff --git a/npbackup/restic_wrapper/__init__.py b/npbackup/restic_wrapper/__init__.py index 6d9c193..8bc2e78 100644 --- a/npbackup/restic_wrapper/__init__.py +++ b/npbackup/restic_wrapper/__init__.py @@ -1193,7 +1193,7 @@ class ResticRunner: cmd = "check{}".format(" --read-data" if read_data else "") result, output = self.executor(cmd) if result: - msg = "Repo checked successfully." + msg = "Repo checked successfully" else: msg = "Repo check failed" return self.convert_to_json_output(result, output, msg=msg, **kwargs)