simple remove parentheses

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-09-15 15:38:42 +08:00
parent 7b37e5183c
commit 73414f2ee1

View File

@ -1076,7 +1076,7 @@ pub fn main_get_last_remote_id() -> String {
}
pub fn main_get_software_update_url() -> String {
if (get_local_option("enable-check-update".to_string()) != "N") {
if get_local_option("enable-check-update".to_string()) != "N" {
crate::common::check_software_update();
}
crate::common::SOFTWARE_UPDATE_URL.lock().unwrap().clone()