summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web_infrastructure/django_manage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/web_infrastructure/django_manage.py b/web_infrastructure/django_manage.py
index f334f398..b21c2834 100644
--- a/web_infrastructure/django_manage.py
+++ b/web_infrastructure/django_manage.py
@@ -294,4 +294,5 @@ def main():
# import module snippets
from ansible.module_utils.basic import *
-main()
+if __name__ == '__main__':
+ main()