Updated to use pprint
This commit is contained in:
parent
f1b0cddd46
commit
e0581a21fe
@ -1,7 +1,7 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# Mirai Nikki Bot a video frame posting bot for Pleroma
|
# Yandere Lewd Bot, an image posting bot for Pleroma
|
||||||
# Copyright (C) 2022 Anon
|
# Copyright (C) 2022 Anon <yanderefedi@proton.me>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -191,7 +191,7 @@ def settings_server_decrypt_cfg(settings_server, settings_encrypt):
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
import argparse
|
import argparse
|
||||||
import yanlib
|
from pprint import pformat
|
||||||
|
|
||||||
default_cfg = "cfg"
|
default_cfg = "cfg"
|
||||||
|
|
||||||
@ -235,8 +235,8 @@ def main():
|
|||||||
("salt", salt)
|
("salt", salt)
|
||||||
])
|
])
|
||||||
|
|
||||||
yanlib.pp_ordered_dict("settings_server", settings_server)
|
print("settings_server = {}".format(pformat(settings_server)))
|
||||||
yanlib.pp_dict("settings_encrypt", settings_encrypt)
|
print("settings_encrypt = {}".format(pformat(settings_encrypt)))
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user