Pretty print generated index.
This commit is contained in:
parent
db86d2686a
commit
1c609454ed
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…
Reference in New Issue
Block a user