Skip to content

Commit adbca96

Browse files
DharshanBJrayluo
andauthored
Update msal/application.py
Co-authored-by: Ray Luo <[email protected]>
1 parent bf7a937 commit adbca96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

msal/application.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2025,7 +2025,9 @@ def __init__(
20252025
self._enable_broker = bool(
20262026
enable_broker_on_windows and sys.platform == "win32"
20272027
or enable_broker_on_mac and sys.platform == "darwin"
2028-
or (enable_broker_on_linux or (enable_broker_on_wsl and is_wsl())) and sys.platform == "linux")
2028+
or enable_broker_on_linux and sys.platform == "linux"
2029+
or enable_broker_on_wsl and is_wsl()
2030+
)
20292031

20302032
super(PublicClientApplication, self).__init__(
20312033
client_id, client_credential=None, **kwargs)

0 commit comments

Comments
 (0)