old_contents: import sys
  
  # Server config
  SERVER_NAME = None
  DEBUG = False
  for arg in sys.argv:
      if arg == '-d':
          DEBUG = True
  SECRET_KEY = 'secret-key'
  
  
  # available languages
  LANGUAGES = {
          'en': 'English',
          'zh': '中文'
          }
  
  
  # SQL config
  SQLALCHEMY_DATABASE_URI = 'mysql+mysqldb://icourse:eDuTieudXcfk@localhost/icourse?charset=utf8'
  SQLALCHEMY_TRACK_MODIFICATIONS = False
  
  # Flask mail
  MAIL_SERVER = 'localhost'
  MAIL_PORT = 25
  MAIL_USE_TLS = False
  MAIL_USE_SSL = False
  MAIL_DEBUG = DEBUG
  MAIL_USERNAME = None
  MAIL_PASSWORD = None
  MAIL_DEFAULT_SENDER = 'support@icourse.club'
  MAIL_MAX_EMAILS = None
  #MAIL_SUPPRESS_SEND =
  MAIL_ASCII_ATTACHMENTS = False
  
  # Upload config
  UPLOAD_FOLDER = '/srv/ustc-course/uploads'
  # Alowed extentsions for a filetype
  # for example 'image': set(['png', 'jpg', 'jpeg', 'gif'])
  ALLOWED_EXTENSIONS = {
          'image':set(['png', 'jpg', 'jpeg', 'gif']),
          'file':set('7z|avi|csv|doc|docx|flv|gif|gz|gzip|jpeg|jpg|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pptx|ps|pxd|rar|rtf|tar|tgz|txt|vsd|wav|wma|wmv|xls|xlsx|xml|zip'.split('|')),
          }
  MAX_CONTENT_LENGTH = 8 * 1024 * 1024
  
  
  
  IMAGE_PATH = 'uploads/images'
  
  
  # Debugbar Settings
  # Enable the profiler on all requests
  DEBUG_TB_PROFILER_ENABLED = True
  # Enable the template editor
  DEBUG_TB_TEMPLATE_EDITOR_ENABLED =True
  DEBUG_TB_INTERCEPT_REDIRECTS = False
  
new_contents: import sys
  
  # Server config
  SERVER_NAME = None
  DEBUG = False
  for arg in sys.argv:
      if arg == '-d':
          DEBUG = True
  SECRET_KEY = 'secret-key'
  
  
  # available languages
  LANGUAGES = {
          'en': 'English',
          'zh': '中文'
          }
  
  
  # SQL config
  SQLALCHEMY_DATABASE_URI = 'mysql+mysqldb://icourse:eDuTieudXcfk@localhost/icourse?charset=utf8'
  SQLALCHEMY_TRACK_MODIFICATIONS = False
  
  # Flask mail
  MAIL_SERVER = 'localhost'
  MAIL_PORT = 25
  MAIL_USE_TLS = False
  MAIL_USE_SSL = False
  MAIL_DEBUG = DEBUG
  MAIL_USERNAME = None
  MAIL_PASSWORD = None
  MAIL_DEFAULT_SENDER = 'support@icourse.club'
  MAIL_MAX_EMAILS = None
  #MAIL_SUPPRESS_SEND =
  MAIL_ASCII_ATTACHMENTS = False
  
  # Upload config
  UPLOAD_FOLDER = '/srv/ustc-course/uploads'
  # Alowed extentsions for a filetype
  # for example 'image': set(['png', 'jpg', 'jpeg', 'gif'])
  ALLOWED_EXTENSIONS = {
          'image':set(['png', 'jpg', 'jpeg', 'gif']),
          'file':set('7z|avi|csv|doc|docx|flv|gif|gz|gzip|jpeg|jpg|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pptx|ps|pxd|rar|rtf|tar|tgz|txt|vsd|wav|wma|wmv|xls|xlsx|xml|zip'.split('|')),
          }
  MAX_CONTENT_LENGTH = 100 * 1024 * 1024
  
  
  
  IMAGE_PATH = 'uploads/images'
  
  
  # Debugbar Settings
  # Enable the profiler on all requests
  DEBUG_TB_PROFILER_ENABLED = True
  # Enable the template editor
  DEBUG_TB_TEMPLATE_EDITOR_ENABLED =True
  DEBUG_TB_INTERCEPT_REDIRECTS = False
  
subject: increase max content length to 100M