mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 18:44:27 +02:00
Fix formatting
This commit is contained in:
@@ -277,8 +277,8 @@ def get_cid():
|
|||||||
elif getenv("CHE_API", getenv("CHE_API_ENDPOINT")):
|
elif getenv("CHE_API", getenv("CHE_API_ENDPOINT")):
|
||||||
try:
|
try:
|
||||||
_uid = requests.get("{api}/user?token={token}".format(
|
_uid = requests.get("{api}/user?token={token}".format(
|
||||||
api=getenv("CHE_API", getenv("CHE_API_ENDPOINT")), token=getenv(
|
api=getenv("CHE_API", getenv("CHE_API_ENDPOINT")),
|
||||||
"USER_TOKEN"))).json().get("id")
|
token=getenv("USER_TOKEN"))).json().get("id")
|
||||||
except: # pylint: disable=bare-except
|
except: # pylint: disable=bare-except
|
||||||
pass
|
pass
|
||||||
cid = str(
|
cid = str(
|
||||||
|
Reference in New Issue
Block a user