From 012c7486245bc91663c92aedb3e3b5049414fc0a Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Mon, 24 Sep 2018 12:09:02 +0200 Subject: [PATCH] imm-o-matic: Don't crash without simplejson --- contrib/imm-o-matic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/imm-o-matic b/contrib/imm-o-matic index be78908929..8e2aab1735 100755 --- a/contrib/imm-o-matic +++ b/contrib/imm-o-matic @@ -136,7 +136,7 @@ def getdetails(): print ("Fetching details for %s"%(i,)) try: d = json.load(os.popen('flatboob info -f json %s' % (i,))) - except json.decoder.JSONDecodeError: + except ValueError: continue try: d = d[0] -- GitLab