diff --git a/abp_import.py b/abp_import.py index c5bf1fd..7b2772f 100755 --- a/abp_import.py +++ b/abp_import.py @@ -51,7 +51,7 @@ def translate(line): elif line.startswith("@@"): unblock.append(line[2:]) elif '$' in line: - pat, opts = line.split("$",2) + pat, opts = line.rsplit("$",1) opts = opts.split(',') for opt in opts: if opt in "third-party|~third-party|script|image":