Adjust BASE urls to have no trailing slash (consistency)

This commit is contained in:
Devon R
2019-11-14 21:54:34 +00:00
committed by Rapptz
parent f5ebf42e1f
commit bf9b9c5879
6 changed files with 15 additions and 15 deletions

View File

@ -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."""