s/or/and/

This commit is contained in:
Fabio Manganiello 2019-12-23 18:43:59 +01:00
parent d5c2ae961a
commit 7f440a9160
1 changed files with 1 additions and 1 deletions

View File

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