mirror of
				https://github.com/KevinMidboe/python-gpiozero.git
				synced 2025-10-29 17:50:37 +00:00 
			
		
		
		
	Rename file_contents to file_columns
This commit is contained in:
		@@ -212,8 +212,8 @@ class LoadAverage(InternalDevice):
 | 
				
			|||||||
        Returns the current load average
 | 
					        Returns the current load average
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        with io.open(self.load_average_file, 'r') as f:
 | 
					        with io.open(self.load_average_file, 'r') as f:
 | 
				
			||||||
            file_contents = f.readline().strip().split()
 | 
					            file_columns = f.readline().strip().split()
 | 
				
			||||||
            return float(file_contents[self._load_average_file_column])
 | 
					            return float(file_columns[self._load_average_file_column])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @property
 | 
					    @property
 | 
				
			||||||
    def value(self):
 | 
					    def value(self):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user