diff --git a/hardware/sensehat/package.json b/hardware/sensehat/package.json index 51d6b2f4..4c9eb5a4 100644 --- a/hardware/sensehat/package.json +++ b/hardware/sensehat/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-pi-sense-hat", - "version" : "0.0.14", + "version" : "0.0.15", "description" : "A Node-RED node to interact with a Raspberry Pi Sense HAT", "repository" : { "type":"git", diff --git a/hardware/sensehat/sensehat.py b/hardware/sensehat/sensehat.py index deea43f8..76c7e05e 100644 --- a/hardware/sensehat/sensehat.py +++ b/hardware/sensehat/sensehat.py @@ -151,7 +151,7 @@ def process_command(data): speed = 0.1 s = data.split(':',1) if len(s) == 2: - data = s[1] + data = s[1][0:-1] if len(s[0]) > 0: c = s[0].split(",") if len(c) == 1: