Fix formatting

This commit is contained in:
Ivan Kravets
2016-10-31 14:43:30 +02:00
parent 76a65e9238
commit c92ab885f7

View File

@ -277,8 +277,8 @@ def get_cid():
elif getenv("CHE_API", getenv("CHE_API_ENDPOINT")):
try:
_uid = requests.get("{api}/user?token={token}".format(
api=getenv("CHE_API", getenv("CHE_API_ENDPOINT")), token=getenv(
"USER_TOKEN"))).json().get("id")
api=getenv("CHE_API", getenv("CHE_API_ENDPOINT")),
token=getenv("USER_TOKEN"))).json().get("id")
except: # pylint: disable=bare-except
pass
cid = str(