def save_palettes(palettes, favs=False):

    s = sublime.load_settings('color_helper.palettes')
    if favs:
        s.set('favorites', palettes)
    else:
        s.set('palettes', palettes)
    sublime.save_settings('color_helper.palettes')
Save palettes.
dataset/ETHPy150Open facelessuser/ColorHelper/color_helper_util.py/save_palettes