From 5e8dc56f8a70628113d2d544b033187d07b918dd Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sun, 23 Jun 2024 21:58:28 -0700 Subject: [PATCH] Fix after previous commit --- modules/block_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/block_requests.py b/modules/block_requests.py index e95cd7e2..1bfa9a99 100644 --- a/modules/block_requests.py +++ b/modules/block_requests.py @@ -44,7 +44,7 @@ def my_open(*args, **kwargs): file_contents = f.read() file_contents = file_contents.replace('\t\t', '') - file_contents = file_contents.replace('cdnjs.cloudflare.com', b'127.0.0.1') + file_contents = file_contents.replace('cdnjs.cloudflare.com', '127.0.0.1') file_contents = file_contents.replace( '', '\n '