Skip to content
Snippets Groups Projects
Commit 32bbe227 authored by jkerdreu's avatar jkerdreu
Browse files

Added is_alive, is_notify, is_xxx to Message

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1520 b32b6428-25c9-4566-ad07-03861ab6144f
parent 97e213e9
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ import xaal.lib
import time
def print_evt(msg):
if msg.action == 'attributesChange':
if msg.is_attributes_change():
print("%s %s %s %s" % (time.ctime(),msg.source,msg.devtype,msg.body))
......@@ -18,4 +18,3 @@ def main():
if __name__ == '__main__':
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment