s/or/and/

This commit is contained in:
Fabio Manganiello 2019-12-23 18:43:59 +01:00
parent d5c2ae961a
commit 7f440a9160

View file

@ -46,7 +46,7 @@ class GpioPlugin(Plugin):
import RPi.GPIO as GPIO import RPi.GPIO as GPIO
with self._init_lock: with self._init_lock:
if self._initialized or GPIO.getmode(): if self._initialized and GPIO.getmode():
return return
GPIO.setmode(self.mode) GPIO.setmode(self.mode)