qvm-tools/qubes-prefs: report empty setting as empty string instead of "none" (#894)
This commit is contained in:
parent
be8d807624
commit
6dbaede3d0
@ -61,7 +61,7 @@ def handle_vm(vms, label, new_value = None):
|
|||||||
if vm is not None:
|
if vm is not None:
|
||||||
return vm.name
|
return vm.name
|
||||||
else:
|
else:
|
||||||
return "none"
|
return ""
|
||||||
|
|
||||||
def handle_kernel(vms, label, new_value = None):
|
def handle_kernel(vms, label, new_value = None):
|
||||||
if new_value is not None:
|
if new_value is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user