Skip to content

Commit a69ffdf

Browse files
committed
Make the linter happy
1 parent 4d2ccb0 commit a69ffdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

url_modules/main/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ def run(request, params):
101101

102102
plugin_htmls += "\n" + _plugin_html
103103

104+
gui_scripts = ""
105+
104106
if "layout" not in params.keys():
105107
gui_mode = statics.GUI_MODE_WEB_TMUX
106-
gui_scripts = ""
107108
elif params["layout"] == "terminal":
108109
gui_mode = statics.GUI_MODE_WEB_TMUX
109-
gui_scripts = ""
110110
elif params["layout"] == "gui":
111111
gui_mode = statics.GUI_MODE_GUI
112112
gui_scripts = "<script src='qrc:///qtwebchannel/qwebchannel.js'></script>"

0 commit comments

Comments
 (0)