Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug opening browser from script #1024

Merged
merged 1 commit into from Feb 26, 2020
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -22,6 +22,7 @@ Release History
0.4.6 (unreleased)
==================

- Bugfix: Failure when opening browser from script


0.4.5 (November 19, 2019)
@@ -190,8 +190,8 @@ def __init__(self, filename=None, model=None, locals=None, editor=True):

def start(self):
t = threading.Thread(
target=webbrowser.open,
args=str(self.server.get_url(token='one-time')))
target=webbrowser.open, args=(str(self.server.get_url(token="one-time")),)
)
t.start()

super(GUI, self).start()
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.