Skip to content

Commit 3e7676d

Browse files
* Fixed: sort files before processing #292 (#301)
Co-authored-by: Jessica Tegner <jessica.tegner@outlook.com>
1 parent b556535 commit 3e7676d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pypandoc/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ def _convert_input(source, format, input_type, to, extra_args=(),
337337
input_file = source
338338
else:
339339
input_file = []
340+
341+
input_file = sorted(input_file)
340342
args = [__pandoc_path, '--from=' + format]
341343

342344
args.append('--to=' + to)

0 commit comments

Comments
 (0)