forked from platformio/platformio-core
Refactor account module
This commit is contained in:
1 parent
1f75430fab
commit
4aebf8c9d7
22 files changed
+496
-286
No files matched your search
+1
-1
@@ -115,7 +115,7 @@ class HTTPClient(object):
|
||||
)
|
||||
if with_authorization and "Authorization" not in headers:
|
||||
# pylint: disable=import-outside-toplevel
|
||||
from platformio.clients.account import AccountClient
|
||||
from platformio.account.client import AccountClient
|
||||
|
||||
headers["Authorization"] = (
|
||||
"Bearer %s" % AccountClient().fetch_authentication_token()
|
||||
|
||||
Reference in new issue
Block a user