From 267f2815ab37793c2698c3acdb8cf7d859fd0628 Mon Sep 17 00:00:00 2001 From: Jin IGARASHI Date: Thu, 31 Oct 2019 16:21:58 +0900 Subject: [PATCH] I deleted unnesesarry source code to copy template_gis_database to existign_database.gpkg --- common/tasks.py | 1 - 1 file changed, 1 deletion(-) diff --git a/common/tasks.py b/common/tasks.py index 4ccdb09..37420f7 100644 --- a/common/tasks.py +++ b/common/tasks.py @@ -58,7 +58,6 @@ def execute(self): shutil.copy("./template/water_network_for_qfield.qgs.cfg", "{0}/water_network_for_qfield_{1}.qgs.cfg".format(self.folder, self.district.district)) shutil.copy("./template/template_gis_database.gpkg", "{0}/template_gis_database.gpkg".format(self.folder)) - shutil.copy("./template/template_gis_database.gpkg", existing_file) shutil.copytree("./template/images", "{0}/images".format(self.folder)) self.load_layers_pandas([District()], basemap_file, None)