From 4589b4698ed4bac2af93a3bdbce6b4c1e4fca495 Mon Sep 17 00:00:00 2001 From: Elif Topuz Date: Mon, 15 Jan 2024 17:38:51 +0000 Subject: [PATCH] target: Fix typo Changed target variable to self because it is not defined in the file. --- devlib/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/target.py b/devlib/target.py index d69b74c..d466239 100644 --- a/devlib/target.py +++ b/devlib/target.py @@ -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: