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

Fix bad base_addr in config file. base_addr lenght is 36 not 34 like old version



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2547 b32b6428-25c9-4566-ad07-03861ab6144f
parent 7aa104ba
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,8 @@ class GW(object): ...@@ -59,6 +59,8 @@ class GW(object):
model_old = dev_cfg.get('model',None) model_old = dev_cfg.get('model',None)
base_addr = tools.get_uuid( dev_cfg.get('base_addr',None) ) base_addr = tools.get_uuid( dev_cfg.get('base_addr',None) )
dev = None dev = None
if base_addr == None:
logger.warn(f"Device w/ bad base_addr {sid}")
if model != model_old: if model != model_old:
logger.warn(f"Device {sid} wrong model") logger.warn(f"Device {sid} wrong model")
if model and base_addr: if model and base_addr:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment