summaryrefslogtreecommitdiffstats
path: root/Demo/scripts/makedir.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/scripts/makedir.py')
-rwxr-xr-xDemo/scripts/makedir.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/scripts/makedir.py b/Demo/scripts/makedir.py
index 209f6c4..f70facd 100755
--- a/Demo/scripts/makedir.py
+++ b/Demo/scripts/makedir.py
@@ -17,4 +17,5 @@ def makedirs(p):
makedirs(head)
os.mkdir(p, 0777)
-main()
+if __name__ == "__main__":
+ main()