danthelion / doc2audiobook

Convert text documents to high fidelity audio(books).
MIT License
203 stars 32 forks source link

Error when running #1

Closed follower46 closed 6 years ago

follower46 commented 6 years ago

I get "TypeError: Type List cannot be instantiated; use list() instead" when running. I'm not 100% on python typing (I don't use it in any projects) but should ttl_utils.py be:

def collect_input_files(input_directory_path: Path) -> List[Path]:

not

def collect_input_files(input_directory_path: Path) -> List(Path):

?

danthelion commented 6 years ago

Thanks for the fix (for reference: #2)