bugfix
This commit is contained in:
parent
2a66a1f0fa
commit
5968a49099
@ -115,6 +115,10 @@ class File2Text:
|
|||||||
'mobi':MyMobiLoader,
|
'mobi':MyMobiLoader,
|
||||||
'txt':MyTextLoader
|
'txt':MyTextLoader
|
||||||
}
|
}
|
||||||
|
@classmethod
|
||||||
|
def supported_types(self):
|
||||||
|
return [k for k in self.all_loaders.keys()]
|
||||||
|
|
||||||
def __init__(self, filepath):
|
def __init__(self, filepath):
|
||||||
self.filepath = filepath
|
self.filepath = filepath
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user