Updated print settings to use pprint

This commit is contained in:
Anon 2022-08-27 00:15:18 -07:00
parent 70a35cf47b
commit bc439c1599

View File

@ -191,7 +191,7 @@ def settings_server_decrypt_cfg(settings_server, settings_encrypt):
def main():
import argparse
import yanlib
from pprint import pformat
default_cfg = "cfg"
@ -235,8 +235,8 @@ def main():
("salt", salt)
])
yanlib.pp_ordered_dict("settings_server", settings_server)
yanlib.pp_dict("settings_encrypt", settings_encrypt)
print("settings_server = {}".format(pformat(settings_server)))
print("settings_encrypt = {}".format(pformat(settings_encrypt)))
return 0