From a73cd50dc153355d9afd51f1cceab229a93a49b6 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Fri, 4 May 2018 22:43:30 +0200 Subject: [PATCH] Fixing processing order (so that always the same file is chosen as base path). --- nikola/plugins/misc/scan_posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nikola/plugins/misc/scan_posts.py b/nikola/plugins/misc/scan_posts.py index 07d3ddc094..d30933d4bd 100644 --- a/nikola/plugins/misc/scan_posts.py +++ b/nikola/plugins/misc/scan_posts.py @@ -83,7 +83,7 @@ def scan(self): if not any([x.startswith('.') for x in p.split(os.sep)])] - for base_path in full_list: + for base_path in sorted(full_list): if base_path in seen: continue try: