def save_watch_to_watch_folders_dict(self, repos_list, sobject_item):
    watch_dict = self.get_watch_dict_by_skey(sobject_item.sobject.get_search_key())
    if watch_dict:
        idx = watch_dict['idx']
        self.watch_folders_dict['assets_names'][idx] = sobject_item.get_title()
        self.watch_folders_dict['assets_codes'][idx] = sobject_item.sobject.info.get('code')
        self.watch_folders_dict['assets_stypes'][idx] = sobject_item.stype.get_pretty_name()
        self.watch_folders_dict['assets_skeys'][idx] = sobject_item.sobject.get_search_key()
        self.watch_folders_dict['assets_pipelines'][idx] = sobject_item.sobject.get_pipeline_code()
        self.watch_folders_dict['paths'][idx] = sobject_item.get_watch_folder_path()
        self.watch_folders_dict['repos'][idx] = repos_list
        self.create_watch_folders(repos_list, sobject_item)
        sobject_item.check_watch_folder()
        self.writeSettings()
def save_watch_to_watch_folders_dict(self, repos_list, sobject_item):
    watch_dict = self.get_watch_dict_by_skey(sobject_item.sobject.get_search_key())
    if watch_dict:
        idx = watch_dict['idx']
        self.watch_folders_dict['assets_names'][idx] = sobject_item.get_title()
        self.watch_folders_dict['assets_codes'][idx] = sobject_item.sobject.info.get('code')
        self.watch_folders_dict['assets_stypes'][idx] = sobject_item.stype.get_pretty_name()
        self.watch_folders_dict['assets_skeys'][idx] = sobject_item.sobject.get_search_key()
        self.watch_folders_dict['assets_pipelines'][idx] = sobject_item.sobject.get_pipeline_code()
        self.watch_folders_dict['paths'][idx] = sobject_item.get_watch_folder_path()
        self.watch_folders_dict['repos'][idx] = repos_list
        self.create_watch_folders(repos_list, sobject_item)
        sobject_item.check_watch_folder()
        self.writeSettings()