1
0
Fork 0
mirror of synced 2024-06-26 10:10:44 +12:00

Corrected syntax error

This commit is contained in:
Phxntxm 2016-10-07 17:51:54 -05:00
parent 4e69e658b3
commit fe54231352

View file

@ -55,7 +55,7 @@ class Deviantart:
result = cache.get(da_name, None)
if result is None:
params['username'] = da_name
async with self.session.get(self.base_url, headers=self.headers, params) as response:
async with self.session.get(self.base_url, headers=self.headers, params=params) as response:
data = await response.json()
result = data['results'][0]
cache[da_name] = result