Skip to content

Commit

Permalink
Fix url schema 2x
Browse files Browse the repository at this point in the history
  • Loading branch information
MujyKun committed Aug 16, 2021
1 parent 6d17f28 commit 9f02313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IreneUtility/models/idol.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ async def send_images_to_host(self):
if base_util.ex.check_file_exists(file_loc):
await base_util.ex.sql.s_groupmembers.set_member_banner(self.id, image_url)
self.banner = image_url
self.banner.replace("https://", "")
self.banner = "https://" + self.banner.replace("//", "/")
banner = self.banner.replace("https://", "")
self.banner = "https://" + banner.replace("//", "/")

def set_attribute(self, column, content):
"""Sets the attribute for a column in the DB.
Expand Down

0 comments on commit 9f02313

Please sign in to comment.