aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts')
-rw-r--r--bot/exts/easter/earth_photos.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/easter/earth_photos.py b/bot/exts/easter/earth_photos.py
index beb16772..3abedd0c 100644
--- a/bot/exts/easter/earth_photos.py
+++ b/bot/exts/easter/earth_photos.py
@@ -21,7 +21,8 @@ class EarthPhotos(commands.Cog):
async with ctx.typing():
async with self.bot.http_session.get(
'https://api.unsplash.com/photos/random',
- params={"query": "earth", "client_id": Tokens.unsplash_access_key}) as r:
+ params={"query": "earth", "client_id": Tokens.unsplash_access_key}
+ ) as r:
jsondata = await r.json()
linksdata = jsondata.get("urls")
embedlink = linksdata.get("regular")