--- a/eric7/WebBrowser/AdBlock/AdBlockSubscription.py Sun Aug 29 20:21:41 2021 +0200 +++ b/eric7/WebBrowser/AdBlock/AdBlockSubscription.py Mon Aug 30 20:02:39 2021 +0200 @@ -437,14 +437,14 @@ # ignore Third-party advertisers rules for performance # whitelist rules at the end will be used index = response.indexOf( - "!---------------------------" - "Third-party advertisers" - "---------------------------!") + b"!---------------------------" + b"Third-party advertisers" + b"---------------------------!") part1 = response.left(index) index = response.indexOf( - "!-----------------------" - "Whitelists to fix broken sites" - "------------------------!") + b"!-----------------------" + b"Whitelists to fix broken sites" + b"------------------------!") part2 = response.mid(index) f.write(part1) f.write(part2)