1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

renamed to changeorg_signature_count + generic name for cache file

This commit is contained in:
Raphaël Droz 2017-01-06 17:07:00 -03:00
parent 97d4922ba7
commit d47fc3adef

View file

@ -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)