[UPDATE] try pretty json format - may WIP
This commit is contained in:
parent
ddcba9b8a7
commit
94a57ce845
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ async def send_message(bot_obj: DelegatorBot, chat_id: int, msg: str, parse_mode
|
||||||
|
|
||||||
def write_config() -> None:
|
def write_config() -> None:
|
||||||
with open(config_filename, 'w') as outfile:
|
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:
|
async def get_essen(only_today: bool) -> None:
|
||||||
|
|
Loading…
Reference in a new issue