1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

workloads/manual: Fix incorrect attribute used to access target

This commit is contained in:
Marc Bonnici 2019-01-30 15:13:32 +00:00 committed by setrofim
parent 31a5a95803
commit a2087ea467

View File

@ -85,7 +85,7 @@ class ManualWorkload(Workload):
def run(self, context):
self.logger.info('START NOW!')
if self.duration:
self.device.sleep(self.duration)
self.target.sleep(self.duration)
elif self.user_triggered:
self.logger.info('')
self.logger.info('hit any key to end your workload execution...')