This commit is contained in:
Maximilian Hils 2020-12-10 09:54:11 +01:00
parent d8eda8daf9
commit dc964b3887

View File

@ -63,8 +63,8 @@ class ModifyHeaders:
)
def configure(self, updated):
self.replacements = []
if "modify_headers" in updated:
self.replacements = []
for option in ctx.options.modify_headers:
try:
spec = parse_modify_spec(option, False)