mirror of
				https://github.com/KevinMidboe/python-gpiozero.git
				synced 2025-10-29 17:50:37 +00:00 
			
		
		
		
	Don't bother checking if source is None
This commit is contained in:
		| @@ -185,8 +185,7 @@ class DigitalOutputDevice(OutputDevice): | ||||
|             self._blink_thread = None | ||||
|  | ||||
|     def _stop_source(self): | ||||
|         if self.source is not None: | ||||
|             self.source = None | ||||
|         self.source = None | ||||
|  | ||||
|     def _stop_blink(self): | ||||
|         if self._controller: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user