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 '