Skip to content
Snippets Groups Projects
Commit 009f4713 authored by nkour's avatar nkour
Browse files

avoid double import of the same module

parent ca1e956b
No related branches found
No related tags found
No related merge requests found
......@@ -824,7 +824,8 @@ class Interface:
parser.write()
def enable_dbus(self):
import remote_control
if remote_control not in globals():
import remote_control
self.remote = remote_control.Remote(self)
def disable_dbus(self):
......
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