diff options
author | 2021-03-03 16:48:19 +0000 | |
---|---|---|
committer | 2021-03-03 16:48:19 +0000 | |
commit | 443c623548caf8edb82d0b9cfe41afcf594f0161 (patch) | |
tree | 737866e0622b9e64cf982a53f17f1e586e75910d | |
parent | linting (diff) |
final lint fix
-rw-r--r-- | bot/exts/easter/earth_photos.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/easter/earth_photos.py b/bot/exts/easter/earth_photos.py index 8e90c9e7..e3d5936e 100644 --- a/bot/exts/easter/earth_photos.py +++ b/bot/exts/easter/earth_photos.py @@ -20,13 +20,13 @@ class EarthPhotos(commands.Cog): async with ctx.typing(): async with aiohttp.ClientSession as session: async with session.get( - 'https://api.unsplash.com/photos/random?query=earth&client_id=' + UnClient_id) as r: + 'https://api.unsplash.com/photos/random?query=earth&client_id=' + UnClient_id) as r: jsondata = await r.json() linksdata = jsondata.get("urls") embedlink = linksdata.get("full") downloadlinksdata = jsondata.get("links") async with session.get( - downloadlinksdata.get("download_location") + "?client_id=" + UnClient_id) as er: + downloadlinksdata.get("download_location") + "?client_id=" + UnClient_id) as er: er.status() embed = discord.Embed(title="In progress") embed.set_photo(url=embedlink) |