fix TB (exceptions have moved)
This commit is contained in:
parent
775aa283b2
commit
91d9f0604b
|
@ -1335,7 +1335,7 @@ class Interface:
|
|||
try:
|
||||
import remote_control
|
||||
self.remote_ctrl = remote_control.Remote()
|
||||
except (remote_control.DbusNotSupported, remote_control.SessionBusNotPresent):
|
||||
except (exceptions.DbusNotSupported, exceptions.SessionBusNotPresent):
|
||||
self.remote_ctrl = None
|
||||
else:
|
||||
self.remote_ctrl = None
|
||||
|
|
Loading…
Reference in New Issue