mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
committed by
Dave Conway-Jones
parent
335c46ac06
commit
8fe2478a0b
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
# Import library functions we need
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import os
|
||||
import unicornhat as UH
|
||||
@@ -64,4 +65,4 @@ while True:
|
||||
except (EOFError, SystemExit): # hopefully always caused by us sigint'ing the program
|
||||
sys.exit(0)
|
||||
except Exception as ex:
|
||||
print "bad data: "+data
|
||||
print("bad data: "+data)
|
||||
|
Reference in New Issue
Block a user