From d6c649af3ff43d25ef79cb3b0c071930cf01ec8d Mon Sep 17 00:00:00 2001 From: Wondiamgegn Tesfaye Date: Tue, 14 Mar 2017 11:02:36 +0300 Subject: [PATCH] Fixed startup.py copy permmission issue --- settings/startup_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/startup_handler.py b/settings/startup_handler.py index e687533ae..9249c3f5d 100644 --- a/settings/startup_handler.py +++ b/settings/startup_handler.py @@ -17,7 +17,7 @@ def copy_startup(): if not isfile(source): source = source_2 if not isfile(destination): - shutil.copy2(source, destination) + shutil.copyfile(source, destination) return source_file = open(source, 'a+') destination_file = open(destination, 'a+')