#NEWLINE# def getList( self ) : #NEWLINE# #INDENT# '\n        Gets the list with all libraries found and returns\n        on the quick panel\n\n        Returns:\n            [dict] -- dictionary with all libraries found\n        ' #NEWLINE# list = self . getLibrary ( 'default_list.json' ) #NEWLINE# list_ins = self . Preferences . get ( 'user_libraries' , '' ) #NEWLINE# if ( list [ 'total' ] == 0 ) : #NEWLINE# #INDENT# list = [ _ ( 'none_lib_found' ) ] #NEWLINE# return list #NEWLINE# #UNINDENT# quick_list = [ ] #NEWLINE# for item in list [ 'items' ] : #NEWLINE# #INDENT# if ( ( str ( item [ 'id' ] ) + ' ' ) not in ( ' ' . join ( list_ins ) + ' ' ) ) : #NEWLINE# #INDENT# item_list = [ ] #NEWLINE# item_list . append ( item [ 'name' ] ) #NEWLINE# item_list . append ( item [ 'description' ] ) #NEWLINE# item_list . append ( str ( quick_list [ 'id' ] ) ) #NEWLINE# quick_list . append ( item_list ) #NEWLINE# #UNINDENT# #UNINDENT# self . saveLibraryData ( quick_list , 'quick_list.json' ) #NEWLINE# return quick_list