Fix some indent.

This commit is contained in:
k2font 2020-04-14 20:18:21 +09:00
parent 23f4e3a045
commit dd1ca71957

View file

@ -20,9 +20,7 @@ def auth(client_id, client_secret):
"clientSecret": client_secret
}
r = requests.post(token_url,
headers=headers,
data=json.dumps(data))
r = requests.post(token_url,headers=headers,data=json.dumps(data))
return r.json()["access_token"]
@ -43,9 +41,7 @@ def parse(sentence, access_token):
"type": "default"
}
r = requests.post(base_url + "v1/parse",
headers=headers,
data=json.dumps(data))
r = requests.post(base_url + "v1/parse",headers=headers,data=json.dumps(data))
return r.json()
# ひらがなを削除する関数