docs: def action_update_library_location(_location):
      """
      Sets the folder that contains models for the local library
      @todo: add options to move things over etc..
      note: this is called from 'manager'
      """
  
      # if not(os.path.exists(_location)):
      # 	os.mkdir(_location)
      # 	printDebug("Creating new folder..", "comment")
  
      printDebug("Old location: '%s'" % get_home_location(), "comment")
  
      if os.path.isdir(_location):
  
          config = SafeConfigParser()
          config_filename = ONTOSPY_LOCAL + '/config.ini'
          config.read(config_filename)
          if not config.has_section('models'):
              config.add_section('models')
  
          config.set('models', 'dir', _location)
          with open(config_filename, 'w') as f:
              config.write(
                  f)  # note: this does not remove previously saved settings
  
          return _location
      else:
          return None