def parseLog(log, v):
    log = log.decode(errors='ignore')
    lines = str(log).splitlines()
    v = int(lines[(1 + lines.index(v))])
    return v
def parseLog(log, v):
    log = log.decode(errors='ignore')
    lines = str(log).splitlines()
    v = int(lines[(1 + lines.index(v))])
    return v