Skip to content
Snippets Groups Projects
Commit 6f6548c1 authored by jkerdreu's avatar jkerdreu
Browse files

Fix None value

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2055 b32b6428-25c9-4566-ad07-03861ab6144f
parent 493f195d
Branches
No related tags found
No related merge requests found
......@@ -49,7 +49,8 @@ class WARP10Logger:
name = '%s.%s' % (base,k)
tags = '{devid=%s}' % msg.source
value = msg.body[k]
buf = buf +"%s// %s%s %s\n" % (now,name,tags,value)
if value != None:
buf = buf +"%s// %s%s %s\n" % (now,name,tags,value)
DATA_BUF = DATA_BUF + buf
self.push()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment