From 2577b2c5e377007604c94d418f897ea94b809a52 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 19 Jun 2017 20:07:12 +0200 Subject: [PATCH] Validate configtypes.Command correctly --- qutebrowser/config/configtypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py index e940041ed..6c21c1407 100644 --- a/qutebrowser/config/configtypes.py +++ b/qutebrowser/config/configtypes.py @@ -734,7 +734,7 @@ class Command(BaseType): from qutebrowser.commands import runners, cmdexc parser = runners.CommandParser() try: - parser.parse_all(value) + list(parser.parse_all(value)) except cmdexc.Error as e: raise configexc.ValidationError(value, str(e))