fix Sensehat for correct python call

This commit is contained in:
Dave Conway-Jones 2025-01-26 21:35:29 +00:00
parent 90641d8300
commit 14f68063c5
No known key found for this signature in database
GPG Key ID: 1DDB0E91A28C2643
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-pi-sense-hat",
"version" : "0.1.5",
"version" : "0.2.0",
"description" : "A Node-RED node to interact with a Raspberry Pi Sense HAT",
"repository" : {
"type":"git",

View File

@ -127,7 +127,7 @@ def process_command(data):
else:
SH.low_light = False
else:
if threading.activeCount() == 2:
if threading.active_count() == 2:
scroll.interrupt()
while scroll.isAlive():
time.sleep(0.01)