From dc78e3f893a576ed12c695682770a124f1462acc Mon Sep 17 00:00:00 2001 From: fsaintma Date: Tue, 12 May 2015 13:50:02 +0200 Subject: [PATCH] fix bug with lease duration in seconds --- sfa/iotlab/iotlabdriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/iotlab/iotlabdriver.py b/sfa/iotlab/iotlabdriver.py index cc8f6e64..5746fed2 100644 --- a/sfa/iotlab/iotlabdriver.py +++ b/sfa/iotlab/iotlabdriver.py @@ -157,7 +157,7 @@ class IotLabDriver(Driver): start_time = min([int(lease['start_time']) for lease in leases]) end_time = max([int(lease['start_time']) + - int(lease['duration']) + int(lease['duration'])*60 for lease in leases]) nodes_list = [Xrn.unescape(Xrn(lease['component_id'].strip(), type='node').get_leaf()) -- 2.43.0