Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_wid_remote.py @ 239:a2af4c1e9c6f
plugin remote: fixed error message
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 03 Oct 2018 21:02:53 +0200 |
parents | 7918a5668304 |
children | 1b835bcfa663 |
comparison
equal
deleted
inserted
replaced
238:7918a5668304 | 239:a2af4c1e9c6f |
---|---|
230 def discover_devices(self, found): | 230 def discover_devices(self, found): |
231 """Looks for devices handling file "File Information Sharing" and display them""" | 231 """Looks for devices handling file "File Information Sharing" and display them""" |
232 try: | 232 try: |
233 namespace = self.host.ns_map['commands'] | 233 namespace = self.host.ns_map['commands'] |
234 except KeyError: | 234 except KeyError: |
235 msg = _(u"can't find file information sharing namespace, " | 235 msg = _(u"can't find ad-hoc commands namespace, is the plugin running?") |
236 u"is the plugin running?") | |
237 log.warning(msg) | 236 log.warning(msg) |
238 G.host.addNote(_(u"missing plugin"), msg, C.XMLUI_DATA_LVL_ERROR) | 237 G.host.addNote(_(u"missing plugin"), msg, C.XMLUI_DATA_LVL_ERROR) |
239 return | 238 return |
240 self.host.bridge.discoFindByFeatures( | 239 self.host.bridge.discoFindByFeatures( |
241 [namespace], [], False, True, True, True, False, self.profile, | 240 [namespace], [], False, True, True, True, False, self.profile, |