diff --git a/qutebrowser/commands/utils.py b/qutebrowser/commands/utils.py index 60eb90c3c..47264e957 100644 --- a/qutebrowser/commands/utils.py +++ b/qutebrowser/commands/utils.py @@ -1,10 +1,10 @@ from PyQt5.QtCore import QObject, pyqtSignal import inspect, sys -import qutebrowser.commands.commands cmd_dict = {} def register_all(): + import qutebrowser.commands.commands def is_cmd(obj): return (inspect.isclass(obj) and obj.__module__ == 'qutebrowser.commands.commands')