From 63ba4fe023a657fc000875ddec6fb4b1ad8cca61 Mon Sep 17 00:00:00 2001 From: nebula0225 <93500898+nebula0225@users.noreply.github.com> Date: Tue, 9 May 2023 15:18:38 +0900 Subject: [PATCH] Update auth.py change json of login setting to pretty --- instagrapi/mixins/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instagrapi/mixins/auth.py b/instagrapi/mixins/auth.py index f9c90306..a416ae0c 100644 --- a/instagrapi/mixins/auth.py +++ b/instagrapi/mixins/auth.py @@ -594,7 +594,7 @@ def dump_settings(self, path: Path) -> bool: Bool """ with open(path, "w") as fp: - json.dump(self.get_settings(), fp) + json.dump(self.get_settings(), fp, indent=4) return True def set_device(self, device: Dict = None, reset: bool = False) -> bool: