Skip to content

Commit

Permalink
Merge pull request #1325 from nebula0225/master
Browse files Browse the repository at this point in the history
add indent to login setting json file
  • Loading branch information
adw0rd authored May 9, 2023
2 parents 52438ed + 63ba4fe commit c263ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instagrapi/mixins/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c263ab2

Please sign in to comment.