instances.add(domain, origin, command, path, software)
logger.debug("software='%s'", software)
- if software_helper.is_relay(software):
+ if software is not None and software_helper.is_relay(software):
logger.debug("software='%s' is a relay software - EXIT!", software)
_DEPTH = _DEPTH - 1
return
raise ValueError(f"Parameter software[]='{type(software)}' is not of type 'str'")
elif isinstance(software, str) and software == "":
raise ValueError("Parameter 'software' is empty")
- elif software_helper.is_relay(software):
+ elif software is not None and software_helper.is_relay(software):
raise ValueError(f"domain='{domain}' is of software='{software}' and isn't supported here.")
elif not isinstance(origin, str) and origin is not None:
raise ValueError(f"Parameter origin[]='{type(origin)}' is not of type 'str'")