From 75d8c553f9c0fea565a0629732d3ac3ac65adba9 Mon Sep 17 00:00:00 2001 From: Christopher Laprise Date: Tue, 20 Feb 2018 22:30:47 -0500 Subject: [PATCH] Fix is_running non-boolean --- qubes/vm/qubesvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index 7a31c17a..d23dbf9c 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -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.