fix TB (exceptions have moved)
This commit is contained in:
parent
775aa283b2
commit
91d9f0604b
1 changed files with 1 additions and 1 deletions
|
@ -1335,7 +1335,7 @@ class Interface:
|
||||||
try:
|
try:
|
||||||
import remote_control
|
import remote_control
|
||||||
self.remote_ctrl = remote_control.Remote()
|
self.remote_ctrl = remote_control.Remote()
|
||||||
except (remote_control.DbusNotSupported, remote_control.SessionBusNotPresent):
|
except (exceptions.DbusNotSupported, exceptions.SessionBusNotPresent):
|
||||||
self.remote_ctrl = None
|
self.remote_ctrl = None
|
||||||
else:
|
else:
|
||||||
self.remote_ctrl = None
|
self.remote_ctrl = None
|
||||||
|
|
Loading…
Add table
Reference in a new issue