Update heroku_info.py

pull/134/head
Who? 2025-04-21 12:54:01 +07:00 committed by GitHub
parent 7decd10af5
commit ecaf16be6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class HerokuInfoMod(loader.Module):
imgform = self.config['banner_url'].split('.')[-1]
imgset = self.config['imgSettings']
if imgform in ['jpg', 'jpeg', 'png', 'bmp', 'webp']:
response = requests.get(self.config['bannerUrl'], stream=True)
response = requests.get(self.config['banner_url'], stream=True)
img = Image.open(BytesIO(response.content))
font = ImageFont.truetype(
glob.glob(f'{os.getcwd()}/assets/font.*')[0],