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

catch all exceptions when we try to import remote_control: under win we have:

NameError: name 'DbusPrototype' is not defined
parent 9db60f40
No related branches found
No related tags found
No related merge requests found
......@@ -1339,7 +1339,7 @@ def __init__(self):
try:
import remote_control
self.remote_ctrl = remote_control.Remote()
except (exceptions.DbusNotSupported, exceptions.SessionBusNotPresent):
except:
self.remote_ctrl = None
else:
self.remote_ctrl = None
......
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