1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

fix node-red

This commit is contained in:
kev 2017-04-30 22:25:01 +08:00
parent 8e1ff7743f
commit 101ffe5866

View File

@ -15,7 +15,17 @@
# Import library functions we need
import six
import RPi.GPIO as GPIO
try:
import RPi.GPIO as GPIO
except:
class GPIO:
BOARD = None
@staticmethod
def setmode(*args): pass
@staticmethod
def setwarnings(*args): pass
import struct
import sys
import os