'Return all of the active folders for the received library'

def __get_active_folders(self, folder, active_folders_list):

    active_folders_list.extend(folder.active_folders)
    for sub_folder in folder.active_folders:
        self.__get_active_folders(sub_folder, active_folders_list)
    return active_folders_list
