diff options
| author | Myst(MysterialPy) <[email protected]> | 2018-03-07 23:32:20 +1000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-03-07 23:32:20 +1000 |
| commit | 31cc4c39deeebc7f487f774aedbaad5a1ff19550 (patch) | |
| tree | e4405be95ad55e1dc7bd00a2ec8a9c8063401dbc /discord/activity.py | |
| parent | Convert Client.activity back to an Activity-like object (diff) | |
| download | discord.py-31cc4c39deeebc7f487f774aedbaad5a1ff19550.tar.xz discord.py-31cc4c39deeebc7f487f774aedbaad5a1ff19550.zip | |
Fix _image_url returning htps
Should be https :)
Just made this a separate PR from my previous one, in-case you decide to not include it.
Diffstat (limited to 'discord/activity.py')
| -rw-r--r-- | discord/activity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/activity.py b/discord/activity.py index ff3be197..46d2244e 100644 --- a/discord/activity.py +++ b/discord/activity.py @@ -185,7 +185,7 @@ class Activity(_ActivityTag): except KeyError: return None else: - return 'htps://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, large_image) + return 'https://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, large_image) @property def small_image_url(self): @@ -198,7 +198,7 @@ class Activity(_ActivityTag): except KeyError: return None else: - return 'htps://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, small_image) + return 'https://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, small_image) @property def large_image_text(self): """Optional[:class:`str`]: Returns the large image asset hover text of this activity if applicable.""" |