diff --git a/wordfence/cli/configurer.py b/wordfence/cli/configurer.py index df96c6af..e72993f3 100644 --- a/wordfence/cli/configurer.py +++ b/wordfence/cli/configurer.py @@ -231,7 +231,7 @@ def _validate_writable(directory: str) -> None: def _prompt_for_worker_count(self) -> int: cpus = cpu_count() - config = self.get_config('scan') + config = self.get_config('malware-scan') processes = prompt_int( f'Number of worker processes ({cpus} CPUs available)', config.workers @@ -269,7 +269,7 @@ def prompt_for_config(self) -> bool: self.update_config( 'workers', self._prompt_for_worker_count(), - 'SCAN' + 'MALWARE_SCAN' ) self.write_config() if has_existing_config: