mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-09 17:10:58 +00:00
Use explicit variable for URL string.
This commit is contained in:
parent
e996f0d98e
commit
5fd8ea1d92
1 changed files with 2 additions and 1 deletions
|
|
@ -271,7 +271,8 @@ Version 2 or later.</p>
|
|||
"""View item URL online."""
|
||||
item = self.treeWidget.currentItem()
|
||||
if item is not None:
|
||||
webbrowser.open(str(item.text(2)))
|
||||
url = str(item.text(2))
|
||||
webbrowser.open(url)
|
||||
|
||||
def set_statusbar (self, msg):
|
||||
"""Show status message in status bar."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue