Forgot to put level= on log output

This commit is contained in:
Anton Hvornum 2022-05-13 07:31:01 +02:00
parent 652308ee40
commit 6561894388
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ def select_driver(options: Dict[str, Any] = AVAILABLE_GFX_DRIVERS) -> str:
if choice.value == 'nvidia-open':
if (package_info := find_package('nvidia-open')) and package_info[0].repo == 'testing':
if 'testing' not in arguments.get('additional-repositories', []):
log(f"Enabling repository 'testing' due to nvidia-open being selected and it lives there", fg="orange", logging.WARNING)
log(f"Enabling repository 'testing' due to nvidia-open being selected and it lives there", fg="orange", level=logging.WARNING)
arguments['additional-repositories'] = arguments.get('additional-repositories', []) + ['testing']
return options.get(choice.value)