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

swith to addr (from uuid1)

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2307 b32b6428-25c9-4566-ad07-03861ab6144f
parent 5835fb02
No related branches found
No related tags found
No related merge requests found
from xaal.lib import Device,Engine,tools
import sys,uuid
import sys
def main(addr):
if addr == None:
......@@ -43,7 +43,7 @@ if __name__ =='__main__':
try:
addr = None
if len(sys.argv) > 1:
addr = uuid.UUID(sys.argv[-1])
addr = tools.get_address(sys.argv[-1])
main(addr)
except KeyboardInterrupt:
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment