Skip to content
Snippets Groups Projects
Commit 103a6ccd authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix traceback with zeroconf under windows. Fixes #5652

parent 9dedf990
No related branches found
No related tags found
No related merge requests found
......@@ -274,9 +274,9 @@ class Zeroconf:
def disconnect(self):
if self.connected:
self.connected = False
self.browse_sdRef.close()
self.remove_announce()
if hasattr(self, 'browse_sdRef'):
self.browse_sdRef.close()
self.remove_announce()
def browse_domain(self, domain=None):
gajim.log.debug('starting to browse')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment