Skip to content

Commit 36c1a25

Browse files
auto: format python code
1 parent 00cf8e7 commit 36c1a25

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

modules/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ async def _update_cache(self, interaction: discord.Interaction):
810810
return await interaction.channel.send(
811811
f'<@{interaction.user.id}> Syncronization completed. Took {timeToComplete}'
812812
)
813-
813+
814814
@update_group.command(name='gamedb', description='Sync the games database with GiantBomb')
815815
@app_commands.describe(full='Determines if it should be a full sync, or a partial')
816816
@app_commands.default_permissions(view_audit_log=True)

modules/games.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def __init__(self, bot):
6060
self.db = mclient.bowser.games
6161

6262
self.last_sync = {
63-
'part': {'at': None, 'count': {'games': 0, 'releases': 0}, 'running': False},
64-
'full': {'at': None, 'count': {'games': 0, 'releases': 0}, 'running': False},
63+
'part': {'at': None, 'count': {'games': 0, 'releases': 0}, 'running': False},
64+
'full': {'at': None, 'count': {'games': 0, 'releases': 0}, 'running': False},
6565
}
6666

6767
# TODO uncomment
@@ -457,7 +457,7 @@ async def _games_info(self, interaction: discord.Interaction):
457457
embed.add_field(name=f'Last Sync', value=f'<t:{last_sync}:R>', inline=False)
458458

459459
return await interaction.followup.send(embed=embed)
460-
460+
461461
# called by core.py
462462
async def games_sync(self, interaction: discord.Interaction, full: bool):
463463
'''Force a database sync'''
@@ -468,7 +468,6 @@ async def games_sync(self, interaction: discord.Interaction, full: bool):
468468
return await interaction.edit_original_response(content=message)
469469

470470

471-
472471
async def setup(bot):
473472
await bot.add_cog(Games(bot))
474473
logging.info('[Extension] Games module loaded')

0 commit comments

Comments
 (0)