From 56c55e005b3b72e2d581ae78ea2a88d16c3d79e9 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 9 Apr 2017 15:34:01 +0100 Subject: [PATCH] Sort files --- md_pdf/build/md.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/md_pdf/build/md.py b/md_pdf/build/md.py index 49be8be..93ba6a0 100644 --- a/md_pdf/build/md.py +++ b/md_pdf/build/md.py @@ -8,5 +8,5 @@ def get_files_content(filenames): def read_files(files_glob): - filenames = glob.iglob(files_glob) + filenames = sorted(glob.glob(files_glob)) return '\n'.join(list(get_files_content(filenames)))