Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
ec3fb5c72c
|
|||
9da6eab743
|
@ -28,7 +28,7 @@ dockerize:
|
||||
- tags
|
||||
variables:
|
||||
GIT_STRATEGY: none
|
||||
CONTAINER_NAME: level-preprocessor
|
||||
CONTAINER_NAME: cem-preprocessor
|
||||
script:
|
||||
- docker stop $CONTAINER_NAME || echo "container not running, never mind"
|
||||
- docker rm $CONTAINER_NAME || echo "container not existing, never mind"
|
||||
|
@ -100,10 +100,10 @@ def splitTopic(topic):
|
||||
except ValueError:
|
||||
raise InvalidTopicException(topic)
|
||||
r = rest.split('/')
|
||||
if (len(r) == 1:
|
||||
if (len(r) == 1):
|
||||
deviceId = 'mains',
|
||||
variableId = r[0]
|
||||
elif (len(r) == 2:
|
||||
elif (len(r) == 2):
|
||||
(deviceId, variableid) = r
|
||||
else:
|
||||
raise InvalidTopicException(topic)
|
||||
|
Reference in New Issue
Block a user