Fix lint.

This commit is contained in:
Arun Prakash Jana 2017-04-06 08:44:44 +05:30
parent f1a5cd4b88
commit 42a8375ac7
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

@ -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: