Fix white-space
This commit is contained in:
@@ -19,7 +19,6 @@ class EnumChoice(click.Choice):
|
|||||||
def convert(self, value, param, ctx):
|
def convert(self, value, param, ctx):
|
||||||
if value is None or isinstance(value, Enum):
|
if value is None or isinstance(value, Enum):
|
||||||
return value
|
return value
|
||||||
|
|
||||||
converted_str = super().convert(value, param, ctx)
|
converted_str = super().convert(value, param, ctx)
|
||||||
return self.__enum(converted_str)
|
return self.__enum(converted_str)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user