diff --git a/qutebrowser/config/conftypes.py b/qutebrowser/config/conftypes.py index 3aff525a4..34fe0493a 100644 --- a/qutebrowser/config/conftypes.py +++ b/qutebrowser/config/conftypes.py @@ -921,7 +921,7 @@ class ShellCommand(String): else: raise ValidationError(value, "may not be empty!") super().validate(value) - if self.placeholder and '{}' not in value: + if self.placeholder and '{}' not in self.transform(value): raise ValidationError(value, "needs to contain a {}-placeholder.") def transform(self, value):