Fix: Repr for Parameter should contain param_type, not type
This commit is contained in:
		
							parent
							
								
									81398225ec
								
							
						
					
					
						commit
						878fb9cf4f
					
				@ -99,7 +99,7 @@ class NuconParameter:
 | 
				
			|||||||
        self.nucon.set(self, new_value, force)
 | 
					        self.nucon.set(self, new_value, force)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def __repr__(self):
 | 
					    def __repr__(self):
 | 
				
			||||||
        return f"NuconParameter(id='{self.id}', value={self.value}, type={self.param_type.__name__}, writable={self.is_writable})"
 | 
					        return f"NuconParameter(id='{self.id}', value={self.value}, param_type={self.param_type.__name__}, writable={self.is_writable})"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def __str__(self):
 | 
					    def __str__(self):
 | 
				
			||||||
        return self.id
 | 
					        return self.id
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user