mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 04:11:15 -08:00
extra networks metadata indent
This commit is contained in:
parent
2c5106ed06
commit
0a0a9d4fe9
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ class UserMetadataEditor:
|
|||
basename, ext = os.path.splitext(filename)
|
||||
|
||||
with open(basename + '.json', "w", encoding="utf8") as file:
|
||||
json.dump(metadata, file)
|
||||
json.dump(metadata, file, indent=4)
|
||||
|
||||
def save_user_metadata(self, name, desc, notes):
|
||||
user_metadata = self.get_user_metadata(name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue