This commit is contained in:
Matthias Meschede 2020-06-05 09:29:05 +02:00
parent 0cabf406d5
commit 2df3b54c7d
1 changed files with 1 additions and 2 deletions

View File

@ -79,6 +79,7 @@ class Command(ScrapyCommand):
else:
copy2(srcname, dstname)
copystat(src, dst)
self._set_rw_permissions(dst)
def _set_rw_permissions(self, path):
"""
@ -123,8 +124,6 @@ class Command(ScrapyCommand):
self._copytree(self.templates_dir, abspath(project_dir))
self._set_rw_permissions(abspath(project_dir))
move(join(project_dir, 'module'), join(project_dir, project_name))
for paths in TEMPLATES_TO_RENDER:
path = join(*paths)