Files
Ajin Abraham cf59941081 HOTFIX: setup.py and directory refactoring
Python setup.py #1585
directory refactoring
2021-01-17 01:47:49 -05:00

19 lines
563 B
Python
Executable File

#!/usr/bin/env python3
"""Django Manage."""
import warnings
import os
import sys
warnings.filterwarnings('ignore', category=UserWarning, module='cffi')
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mobsf.MobSF.settings')
from django.core.management import execute_from_command_line
if 'runserver' in sys.argv:
print('We do not allow debug server anymore. '
'Please follow official docs: '
'https://mobsf.github.io/docs/')
sys.exit(0)
execute_from_command_line(sys.argv)