dom0: minor get_start_time fix
This commit is contained in:
parent
5dd17a7305
commit
c766282d2d
@ -592,7 +592,7 @@ class QubesVm(object):
|
|||||||
|
|
||||||
start_time = xs.read('', "/vm/%s/start_time" % str(uuid))
|
start_time = xs.read('', "/vm/%s/start_time" % str(uuid))
|
||||||
if start_time != '':
|
if start_time != '':
|
||||||
return datetime.datetime.fromtimestamp(float(start_time))
|
return datetime.fromtimestamp(float(start_time))
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user