Browse Source

trying to find a bug

digital 8 years ago
parent
commit
1b6547dfe0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pin/__init__.py

+ 2 - 0
pin/__init__.py

@@ -131,8 +131,10 @@ class GPIOWrapper(object):
             self.gpio = __import__("RPi.GPIO")
         except ImportError as e:
             lgpio.debug("failed to import RPi.GPIO")
+            print("134")
         except Exception as e:
             lgpio.debug("unknown error occured", exc_info=e)
+            print("137")
         finally:
             self.gpio = False
             self.OUT = getattr(self.gpio,"OUT",self.OUT)