[UPDATE] try pretty json format - may WIP

This commit is contained in:
Ansgar Dabow 2020-09-11 11:31:48 +02:00
parent ddcba9b8a7
commit 94a57ce845
1 changed files with 1 additions and 1 deletions

View File

@ -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: