diff --git a/LCS/Messaging/python/messaging/Service.py b/LCS/Messaging/python/messaging/Service.py index 6f5e179845dd1b99657e1631f8b6c65cfe5bca9f..d9377df777ef864a412ca10ab6a70ba57df86c1e 100644 --- a/LCS/Messaging/python/messaging/Service.py +++ b/LCS/Messaging/python/messaging/Service.py @@ -117,8 +117,8 @@ class Service(object): self.options = {"capacity": self._numthreads*20} options = kwargs.pop("options", None) self.parsefullmessage = kwargs.pop("parsefullmessage", False) - self.startonwith = kwargs.pop("startonwith", None) - self.handler_args = kwargs.pop("handler_args", None) + self.startonwith = kwargs.pop("startonwith", True) + self.handler_args = kwargs.pop("handler_args", {}) self.listening = False if len(kwargs): raise AttributeError("Unexpected argument passed to Service class: %s", kwargs)