We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5af694 commit 2fad3faCopy full SHA for 2fad3fa
foliant/preprocessors/showcommits.py
@@ -360,9 +360,11 @@ def process_file(self, markdown_file_path):
360
with open(markdown_file_path, 'w', encoding='utf8') as markdown_file:
361
markdown_file.write(processed_markdown_content)
362
363
- def process_all_files(self, list_of_files):
+ def process_all_files(self, list_of_files: list):
364
threads = []
365
for markdown_file_path in list_of_files:
366
+ if isinstance(markdown_file_path, (str, Path)):
367
+ markdown_file_path = Path(markdown_file_path)
368
process_file_thread = threading.Thread(target=self.process_file,
369
args=[markdown_file_path])
370
process_file_thread.start()
0 commit comments