Skip to content

Commit e1c0eb0

Browse files
authored
Update application.py
1 parent 923a732 commit e1c0eb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

msal/application.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import json
33
import time
44
import logging
5+
import platform
56
import sys
67
import warnings
78
from threading import Lock
@@ -789,7 +790,7 @@ def _build_client(self, client_credential, authority, skip_regional_client=False
789790
client_assertion_type = None
790791
default_headers = {
791792
"x-client-sku": SKU, "x-client-ver": __version__,
792-
"x-client-os": sys.platform,
793+
"x-client-os": platform.system(),
793794
"x-ms-lib-capability": "retry-after, h429",
794795
}
795796
if self.app_name:

0 commit comments

Comments
 (0)