dom0: minor get_start_time fix

This commit is contained in:
Marek Marczykowski 2012-02-07 23:17:53 +01:00
parent 5dd17a7305
commit c766282d2d

View File

@ -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