diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 44d3caaf7..abdba799e 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -244,9 +244,9 @@ def process_pos_args(args, via_ipc=False, cwd=None, target_arg=None): will be an empty string instead of None. This behavior is caused by the PyQt signal ``got_args = pyqtSignal(list, str, str)`` - used in the misc.ipc.IPCServer class. PyQt converts the None - value into a null QString and then back to an empty python - string + used in the misc.ipc.IPCServer class. PyQt converts the + None value into a null QString and then back to an empty + python string """ if via_ipc and not args: win_id = mainwindow.get_window(via_ipc, force_window=True) diff --git a/qutebrowser/mainwindow/mainwindow.py b/qutebrowser/mainwindow/mainwindow.py index 257d6e211..ac602194a 100644 --- a/qutebrowser/mainwindow/mainwindow.py +++ b/qutebrowser/mainwindow/mainwindow.py @@ -41,7 +41,8 @@ from qutebrowser.misc import crashsignal win_id_gen = itertools.count(0) -def get_window(via_ipc, force_window=False, force_tab=False, force_target=None): +def get_window(via_ipc, force_window=False, force_tab=False, + force_target=None): """Helper function for app.py to get a window id. Args: