Remove trailing space

This commit is contained in:
Sijmen Schoon 2016-11-14 11:07:26 +01:00
parent 186cad8931
commit 873bd6f101

View File

@ -117,7 +117,7 @@ async def shorten_url(url):
"""
headers = {'Content-Type': 'application/json'}
async with SHORTEN_SESS.post(GOO_GL_URL, params={'key': GOOGLE_TOKEN},
data=json.dumps({'longUrl': url}),
data=json.dumps({'longUrl': url}),
headers=headers) \
as response:
obj = await response.json()