From a0d97c0f18fa727beb2cb7d0bf8a5151ef751d27 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 20 Aug 2020 00:48:01 +0200 Subject: [PATCH] service_type and service_name are actually needed even if empty --- platypush/backend/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/__init__.py b/platypush/backend/__init__.py index 1aaa339cb..9c78e928f 100644 --- a/platypush/backend/__init__.py +++ b/platypush/backend/__init__.py @@ -372,7 +372,7 @@ class Backend(Thread, EventGenerator): self.bus.post(ZeroconfServiceRemovedEvent(service_type=self.zeroconf_info.type, service_name=self.zeroconf_info.name)) else: - self.bus.post(ZeroconfServiceRemovedEvent()) + self.bus.post(ZeroconfServiceRemovedEvent(service_type=None, service_name=None)) self.zeroconf_info = None self.zeroconf = None