Param Repr should contain is_writable not writable
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ class NuconParameter:
|
||||
self.nucon.set(self, new_value, force)
|
||||
|
||||
def __repr__(self):
|
||||
return f"NuconParameter(id='{self.id}', value={self.value}, param_type={self.param_type.__name__}, writable={self.is_writable})"
|
||||
return f"NuconParameter(id='{self.id}', value={self.value}, param_type={self.param_type.__name__}, is_writable={self.is_writable})"
|
||||
|
||||
def __str__(self):
|
||||
return self.id
|
||||
|
||||
Reference in New Issue
Block a user