haganbt / pepp

PYLON Exporter ++
MIT License
5 stars 5 forks source link

Constants for filenames #103

Open erwanlenagard opened 8 years ago

erwanlenagard commented 8 years ago

Hi Ben,

Would it be possible to use constants for naming files ? For instance, i would like to compare several brands so I wanted to export 1 file per brand. When I execute pepp I get a parsing error.

`{ "subtype_"+brand_1+"__a":[ { "id":brand_1+"_status_fr", "target":"li.subtype", "threshold":10, "filter":f_brand_1_status_fr, }, { "id":brand_1+"_status_HF", "target":"li.subtype", "threshold":10, "filter":f_brand_1_status_HF, },

    {
      "id":brand_1+"_engagements_fr",
      "target":"li.subtype",
      "threshold":10,
      "filter":f_brand_1_eng_fr,
    },
    {
      "id":brand_1+"_engagements_hf",
      "target":"li.subtype",
      "threshold":10,
      "filter":f_brand_1_eng_HF,
    }
  ]  
},`