Fix icinga2-list-agents

refs #7248
This commit is contained in:
Gunnar Beutner 2014-10-24 11:44:11 +02:00
parent 4661f2c1ea
commit 489badcea8
1 changed files with 2 additions and 2 deletions

View File

@ -25,10 +25,10 @@ repository = {}
for root, dirs, files in os.walk(repository_dir):
for file in files:
if len(file) != 64:
if len(file) != 69:
continue
fp = open(root + file + ".repo", "r")
fp = open(root + file, "r")
repository_info = json.load(fp)
fp.close()