code: def check_web_config(config_fname):
      '''
          Try to load the Django settings.
          If this does not work, than settings file does not exist.
  
          Returns:
              Loaded configuration, or None.
      '''
      print("Looking for config file at {0} ...".format(config_fname))
      config = RawConfigParser()
      try:
          config.readfp(open(config_fname))
          return config
      except IOError:
          print("ERROR: Seems like the config file does not exist. Please call 'opensubmit-web configcreate' first, or specify a location with the '-c' option.")
          return Nonf check_web_config(config_fname):
      '''
          Try to load the Django settings.
          If this does not work, than settings file does not exist.
  
          Returns:
              Loaded configuration, or None.
      '''
      print("Looking for config file at {0} ...".format(config_fname))
      config = RawConfigParser()
      try:
          config.readfp(open(config_fname))
          return config
      except IOError:
          print("ERROR: Seems like the config file does not exist. Please call 'opensubmit-web configcreate' first, or specify a location with the '-c' option.")
          return None
docs: Try to load the Django settings.
          If this does not work, than settings file does not exist.
  
          Returns:
              Loaded configuration, or None.