diff options
| author | 2020-11-14 18:04:28 +0000 | |
|---|---|---|
| committer | 2020-11-14 18:04:28 +0000 | |
| commit | dae64477b9be088fc04e5eecd5eb3dea7c3512c0 (patch) | |
| tree | 57b36ba12291dfe5f5f5c398f59c4c3e1fc385d6 | |
| parent | Don't load Monster survey cog (diff) | |
Revert autoformatter changes
| -rw-r--r-- | bot/exts/evergreen/branding.py | 10 | 
1 files changed, 8 insertions, 2 deletions
| diff --git a/bot/exts/evergreen/branding.py b/bot/exts/evergreen/branding.py index 96d67f6f..9204527b 100644 --- a/bot/exts/evergreen/branding.py +++ b/bot/exts/evergreen/branding.py @@ -298,7 +298,10 @@ class BrandingManager(commands.Cog):          seasonal_dir = await self._get_files(self.current_season.branding_path, include_dirs=True)          # Only make a call to the fallback directory if there is something to be gained -        branding_incomplete = any(asset not in seasonal_dir for asset in (FILE_BANNER, FILE_AVATAR, SERVER_ICONS)) +        branding_incomplete = any( +            asset not in seasonal_dir +            for asset in (FILE_BANNER, FILE_AVATAR, SERVER_ICONS) +        )          if branding_incomplete and self.current_season is not SeasonBase:              fallback_dir = await self._get_files(SeasonBase.branding_path, include_dirs=True)          else: @@ -396,7 +399,10 @@ class BrandingManager(commands.Cog):              else:                  active_when = f"in {human_months(season.months)}" -            description = f"Active {active_when}\n" f"Branding: {season.branding_path}" +            description = ( +                f"Active {active_when}\n" +                f"Branding: {season.branding_path}" +            )              embed.add_field(name=season.season_name, value=description, inline=False)          await ctx.send(embed=embed) | 
