Fix is_running non-boolean
This commit is contained in:
parent
4f52a3b62e
commit
75d8c553f9
@ -1624,7 +1624,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
|
||||
else:
|
||||
raise
|
||||
|
||||
return self.libvirt_domain.isActive()
|
||||
return bool(self.libvirt_domain.isActive())
|
||||
|
||||
def is_paused(self):
|
||||
'''Check whether this domain is paused.
|
||||
|
Loading…
Reference in New Issue
Block a user