1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +00:00

target: Fix typo

Changed target variable to self because it is not defined in the file.
This commit is contained in:
Elif Topuz 2024-01-15 17:38:51 +00:00 committed by Marc Bonnici
parent 56746fdb33
commit 4589b4698e

View File

@ -1183,7 +1183,7 @@ fi
"""
Returns the value of the given sysctl parameter as a string.
"""
path = target.path.join('proc', 'sys', *parameter.split('.'))
path = self.path.join('proc', 'sys', *parameter.split('.'))
try:
return await self.read_value.asyn(path)
except FileNotFoundError as e: