From 06ef778e08d41199ffd7e2090d7f1f7e8f66febe Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 5 Nov 2015 11:10:31 +0100 Subject: Fix T46699: copy_prev_settings() gives misleading error message when previous version's config dir doesn't exist. --- release/scripts/startup/bl_operators/wm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index c228e33965f..557badb500c 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -1402,7 +1402,7 @@ class WM_OT_copy_prev_settings(Operator): if os.path.isdir(path_dst): self.report({'ERROR'}, "Target path %r exists" % path_dst) elif not os.path.isdir(path_src): - self.report({'ERROR'}, "Source path %r exists" % path_src) + self.report({'ERROR'}, "Source path %r does not exist" % path_src) else: shutil.copytree(path_src, path_dst, symlinks=True) -- cgit v1.2.3