diff --git a/macli.py b/macli.py index eaf9e23..cf4ab13 100644 --- a/macli.py +++ b/macli.py @@ -163,7 +163,7 @@ def archive_to_dir(directory, url): selector, directory, attribute, progbar) with open('index.html', 'wt') as f: - f.write(str(archived_content)) + f.write(archived_content.prettify()) os.chdir(current_path)