Use separate variable to make pylint happy
This commit is contained in:
parent
7ae0d584e6
commit
ca199b0d3d
@ -215,8 +215,8 @@ def qute_tabs(_url):
|
|||||||
window=win_id)
|
window=win_id)
|
||||||
for tab in tabbed_browser.widgets():
|
for tab in tabbed_browser.widgets():
|
||||||
if tab.url() not in [QUrl("qute://tabs/"), QUrl("qute://tabs")]:
|
if tab.url() not in [QUrl("qute://tabs/"), QUrl("qute://tabs")]:
|
||||||
tabs[str(win_id)].append(
|
urlstr = tab.url().toDisplayString()
|
||||||
(tab.title(), tab.url().toDisplayString()))
|
tabs[str(win_id)].append((tab.title(), urlstr))
|
||||||
|
|
||||||
html = jinja.render('tabs.html',
|
html = jinja.render('tabs.html',
|
||||||
title='Tabs',
|
title='Tabs',
|
||||||
|
Loading…
Reference in New Issue
Block a user