aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Kronifer <[email protected]>2021-03-04 01:31:14 +0000
committerGravatar Kronifer <[email protected]>2021-03-04 01:31:14 +0000
commit05e18c02cd076a70e3aac370e7d120a16c84aab7 (patch)
tree2d5d3d29f75d5d0a2a64394e2e95bb7b6572106a
parentPipfile lock fix (diff)
Revert "Format change"
This reverts commit 825080e805787afc1f36a80b4fa3f73040ebdc75.
-rw-r--r--bot/exts/easter/earth_photos.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/easter/earth_photos.py b/bot/exts/easter/earth_photos.py
index 6bfc26b0..f0c57fc5 100644
--- a/bot/exts/easter/earth_photos.py
+++ b/bot/exts/easter/earth_photos.py
@@ -19,8 +19,7 @@ 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")