diff --git a/qutebrowser/commands/argparser.py b/qutebrowser/commands/argparser.py index d323213fd..01e44e79e 100644 --- a/qutebrowser/commands/argparser.py +++ b/qutebrowser/commands/argparser.py @@ -109,7 +109,7 @@ def multitype_conv(tpl): return value try: return typ(value) - except ValueError: + except (TypeError, ValueError): pass raise cmdexc.ArgumentTypeError('Invalid value {}.'.format(value))