Pretty print generated index.
This commit is contained in:
parent
db86d2686a
commit
1c609454ed
1 changed files with 1 additions and 1 deletions
2
macli.py
2
macli.py
|
@ -163,7 +163,7 @@ def archive_to_dir(directory, url):
|
||||||
selector, directory, attribute, progbar)
|
selector, directory, attribute, progbar)
|
||||||
|
|
||||||
with open('index.html', 'wt') as f:
|
with open('index.html', 'wt') as f:
|
||||||
f.write(str(archived_content))
|
f.write(archived_content.prettify())
|
||||||
|
|
||||||
os.chdir(current_path)
|
os.chdir(current_path)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue