This commit fixes a bug where the web browser doesn't open properly because of improper syntax for Python 3.7. The improper call of webbrowser.register in auth_helpers.py causes the entire authentication to fail, which prevents the user from starting any of the example programs. This only happens when the user tries to authenticate using the desktop interface. When the user uses ssh, the problem is avoided.
The change in auth_helpers.py is on line 75 and the last argument is changed from "-1" to "preferred=True." The documentation explains that the last argument takes boolean values instead of numeric values. This comment also explains how to implement the fix.
This commit fixes a bug where the web browser doesn't open properly because of improper syntax for Python 3.7. The improper call of webbrowser.register in auth_helpers.py causes the entire authentication to fail, which prevents the user from starting any of the example programs. This only happens when the user tries to authenticate using the desktop interface. When the user uses ssh, the problem is avoided.
The change in auth_helpers.py is on line 75 and the last argument is changed from "-1" to "preferred=True." The documentation explains that the last argument takes boolean values instead of numeric values. This comment also explains how to implement the fix.
Resolves #658.