This commit is contained in:
Jesse Bannon 2022-10-07 22:21:58 -07:00
parent 94b8803a3f
commit c317ecd328

View file

@ -29,9 +29,7 @@ class FileConvertOptions(PluginOptions):
def __init__(self, name, value): def __init__(self, name, value):
super().__init__(name, value) super().__init__(name, value)
self._convert_to = self._validate_key( self._convert_to = self._validate_key(key="convert_to", validator=FileTypeValidator).value
key="convert_to", validator=FileTypeValidator
).value
@property @property
def convert_to(self) -> str: def convert_to(self) -> str: