Use separate variable to make pylint happy

This commit is contained in:
Simon Doppler 2018-02-12 22:51:36 +01:00
parent 7ae0d584e6
commit ca199b0d3d
No known key found for this signature in database
GPG Key ID: 9A08963DB82F5A19

View File

@ -215,8 +215,8 @@ def qute_tabs(_url):
window=win_id)
for tab in tabbed_browser.widgets():
if tab.url() not in [QUrl("qute://tabs/"), QUrl("qute://tabs")]:
tabs[str(win_id)].append(
(tab.title(), tab.url().toDisplayString()))
urlstr = tab.url().toDisplayString()
tabs[str(win_id)].append((tab.title(), urlstr))
html = jinja.render('tabs.html',
title='Tabs',