diff options
| author | Devon R <[email protected]> | 2019-11-14 21:54:34 +0000 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-11-15 04:25:38 -0500 |
| commit | bf9b9c5879b4e534cf205cf44ab1248e6cc37c24 (patch) | |
| tree | 44c4c62a1970953eed242a62487de2bcf0856d6f /discord/activity.py | |
| parent | Return invites as https, various URL normalization (diff) | |
| download | discord.py-bf9b9c5879b4e534cf205cf44ab1248e6cc37c24.tar.xz discord.py-bf9b9c5879b4e534cf205cf44ab1248e6cc37c24.zip | |
Adjust BASE urls to have no trailing slash (consistency)
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 ae6061c0..9a3d6b81 100644 --- a/discord/activity.py +++ b/discord/activity.py @@ -206,7 +206,7 @@ class Activity(_ActivityTag): except KeyError: return None else: - return Asset.BASE + 'app-assets/{0}/{1}.png'.format(self.application_id, large_image) + return Asset.BASE + '/app-assets/{0}/{1}.png'.format(self.application_id, large_image) @property def small_image_url(self): @@ -219,7 +219,7 @@ class Activity(_ActivityTag): except KeyError: return None else: - return Asset.BASE + 'app-assets/{0}/{1}.png'.format(self.application_id, small_image) + return Asset.BASE + '/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.""" |