Fix lint.
This commit is contained in:
parent
f1a5cd4b88
commit
42a8375ac7
4
buku.py
4
buku.py
@ -2267,7 +2267,9 @@ def browse(url):
|
||||
else:
|
||||
# On Windows, the webbrowser module does not fork.
|
||||
# Use threads instead.
|
||||
browserthread = lambda: webbrowser.open(url, new=2)
|
||||
def browserthread():
|
||||
webbrowser.open(url, new=2)
|
||||
|
||||
t = threading.Thread(target=browserthread)
|
||||
t.start()
|
||||
except Exception as e:
|
||||
|
Loading…
x
Reference in New Issue
Block a user