This commit is contained in:
Ad Schellevis 2019-03-10 14:09:44 +01:00
parent 435d984984
commit 1855ce9488

View File

@ -92,7 +92,8 @@ elif args.stats:
while len(keys) > 0 :
key = keys.pop(0)
if len(keys) == 0:
ptr[key] = value.strip()
if key not in ptr:
ptr[key] = value.strip()
elif key not in ptr:
ptr[key] = dict()
ptr = ptr[key]