disabled gpio_handler.py to always return false to ON_HARDWARE

This commit is contained in:
Nicholas Dyer 2023-05-12 23:34:15 -04:00
parent b8776a6f7f
commit 526b51b754
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ ON_HARDWARE = None # Flag to tell other methods if the program is running on ha
try:
importlib.util.find_spec('RPi.GPIO')
import RPi.GPIO as GPIO
ON_HARDWARE = True
ON_HARDWARE = False
except ImportError:
import pocket_friends.game_files.io.fake_gpio as GPIO
ON_HARDWARE = False