diff --git a/qutebrowser/commands/command.py b/qutebrowser/commands/command.py index 0aa7c6f3c..0d9602ca2 100644 --- a/qutebrowser/commands/command.py +++ b/qutebrowser/commands/command.py @@ -427,7 +427,7 @@ class Command: self.name)) elif issubclass(typ, typing.Union): # this is... slightly evil, I know - types = list(typ.__union_params__) + types = list(typ.__union_params__) # pylint: disable=no-member if param.default is not inspect.Parameter.empty: types.append(type(param.default)) choices = self.get_arg_info(param).choices