From 526b51b7543856871c8625c6cd50a146b6c24dc4 Mon Sep 17 00:00:00 2001 From: Nicholas Dyer Date: Fri, 12 May 2023 23:34:15 -0400 Subject: [PATCH] disabled gpio_handler.py to always return false to ON_HARDWARE --- pocket_friends/game_files/io/gpio_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pocket_friends/game_files/io/gpio_handler.py b/pocket_friends/game_files/io/gpio_handler.py index 0dd27dc..3432c84 100644 --- a/pocket_friends/game_files/io/gpio_handler.py +++ b/pocket_friends/game_files/io/gpio_handler.py @@ -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