1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-07 05:31:21 +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): def run(self, context):
self.logger.info('START NOW!') self.logger.info('START NOW!')
if self.duration: if self.duration:
self.device.sleep(self.duration) self.target.sleep(self.duration)
elif self.user_triggered: elif self.user_triggered:
self.logger.info('') self.logger.info('')
self.logger.info('hit any key to end your workload execution...') self.logger.info('hit any key to end your workload execution...')