From 3483e02690eb75261494fa13255100ea4c4c6ee5 Mon Sep 17 00:00:00 2001
From: Pouria Hadjibagheri
Date: Sun, 23 Apr 2017 16:18:27 +0100
Subject: [PATCH] chmod +x manage.py
---
dev.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev.py b/dev.py
index 2edffbd..a1349ea 100644
--- a/dev.py
+++ b/dev.py
@@ -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)