diff --git a/HSMensaW_botA.py b/HSMensaW_botA.py index 819b5c1..5343508 100644 --- a/HSMensaW_botA.py +++ b/HSMensaW_botA.py @@ -266,7 +266,7 @@ async def send_message(bot_obj: DelegatorBot, chat_id: int, msg: str, parse_mode def write_config() -> None: with open(config_filename, 'w') as outfile: - json.dump(config, outfile, cls=EnumEncode) + json.dump(config, outfile, indent=4, sort_keys=True, cls=EnumEncode) async def get_essen(only_today: bool) -> None: