pmb.config.init: Don't convert sudo timer return value to str (MR 2434)

config.sudo_timer is a bool, and the returned value here is a bool. No
point in converting it to a str.
This commit is contained in:
Newbyte 2024-10-15 14:23:15 +02:00 committed by Caleb Connolly
parent ca5c77fa20
commit 82a9059dc8
No known key found for this signature in database
GPG key ID: 7930459FB9303217

View file

@ -531,7 +531,7 @@ def ask_for_additional_options(config) -> None:
"Enable background timer to prevent repeated sudo authorization?",
default=context.sudo_timer,
)
config.sudo_timer = str(answer)
config.sudo_timer = answer
# Mirrors
# prompt for mirror change