aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Kronifer <[email protected]>2021-03-03 19:05:37 -0600
committerGravatar GitHub <[email protected]>2021-03-03 19:05:37 -0600
commit825080e805787afc1f36a80b4fa3f73040ebdc75 (patch)
tree3be47ea72e68da2bdd59e50c0cd68e48e8498223
parentMore formatting (diff)
Format change
Co-authored-by: Shivansh-007 <[email protected]>
-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 f0c57fc5..6bfc26b0 100644
--- a/bot/exts/easter/earth_photos.py
+++ b/bot/exts/easter/earth_photos.py
@@ -19,7 +19,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": UnClient_id}) as r:
+ params={"query": "earth", "client_id": UnClient_id}
+ ) as r:
jsondata = await r.json()
linksdata = jsondata.get("urls")
embedlink = linksdata.get("regular")