diff --git a/plugins/change.org/changeorg b/plugins/change.org/changeorg_signature_count similarity index 97% rename from plugins/change.org/changeorg rename to plugins/change.org/changeorg_signature_count index 79e53a64..b9e7ab8a 100755 --- a/plugins/change.org/changeorg +++ b/plugins/change.org/changeorg_signature_count @@ -8,7 +8,7 @@ You need a valid API key for this petition =head2 CONFIGURATION # Sample: -[change_org] +[changeorg_signature_count] env.APIkey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx env.petitions 1727001 1727053 @@ -53,7 +53,7 @@ petition_titles = {} write_cache = False if environ.get('MUNIN_PLUGSTATE'): - petition_cache_names = path.join(environ['MUNIN_PLUGSTATE'], 'change_org-petition_names') + petition_cache_names = path.join(environ['MUNIN_PLUGSTATE'], path.basename(argv[0]) + '-petition_names') try: with open(petition_cache_names, 'r') as f: petition_titles = json.load(f)