From 81aba3ef7fd6ecf50b521299762e797c9315c954 Mon Sep 17 00:00:00 2001 From: geirawsm Date: Sat, 21 Dec 2024 22:37:24 +0100 Subject: [PATCH] Converted headers to dicts --- sausage_bot/cogs/stats.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sausage_bot/cogs/stats.py b/sausage_bot/cogs/stats.py index 4f8ab7f..234e7e1 100755 --- a/sausage_bot/cogs/stats.py +++ b/sausage_bot/cogs/stats.py @@ -228,10 +228,10 @@ async def list_settings( template_info=envs.stats_db_settings_schema, select=('setting', 'value') ) - headers_settings = [ - I18N.t('stats.commands.list.headers.settings.setting'), - I18N.t('stats.commands.list.headers.settings.value') - ] + headers_settings = { + 'setting': I18N.t('stats.commands.list.headers.settings.setting'), + 'value': I18N.t('stats.commands.list.headers.settings.value') + } out = '## {}\n```{}```'.format( I18N.t('stats.commands.list.stats_msg_out.sub_settings'), tabulate(settings_in_db, headers=headers_settings)