chmod +x manage.py

This commit is contained in:
Pouria Hadjibagheri 2017-04-23 16:18:27 +01:00
parent e367eb541b
commit 3483e02690

2
dev.py
View file

@ -178,7 +178,7 @@ def create_files(name):
print('> CREATED:', display_path)
if splitext(absolute_path)[1] == '.sh':
if splitext(absolute_path)[1] == '.sh' or absolute_path.endswith('manage.py'):
st = stat(absolute_path)
chmod(absolute_path, st.st_mode | S_IEXEC)