From b93dfc10ffeec7a8bd39fbfbd43a701186a3ef48 Mon Sep 17 00:00:00 2001 From: Shreyas Khare Date: Mon, 2 Nov 2020 08:44:14 -0500 Subject: [PATCH] Removing encoding the output which is breaking html generation in Python3 --- staticfy/staticfy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staticfy/staticfy.py b/staticfy/staticfy.py index 643da4a..4c70ef2 100755 --- a/staticfy/staticfy.py +++ b/staticfy/staticfy.py @@ -189,7 +189,7 @@ def main(): 'string e.g {}'.format('\'{"img": "data-url"}\'') + '\033[0m') sys.exit(1) - staticfied = staticfy(html_file, args=args).encode('utf-8') + staticfied = staticfy(html_file, args=args) file_ops(staticfied, args=args)