avoid double import of the same module
This commit is contained in:
parent
ca1e956b44
commit
009f471368
|
@ -824,6 +824,7 @@ class Interface:
|
|||
parser.write()
|
||||
|
||||
def enable_dbus(self):
|
||||
if remote_control not in globals():
|
||||
import remote_control
|
||||
self.remote = remote_control.Remote(self)
|
||||
|
||||
|
|
Loading…
Reference in New Issue