Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72078893 authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Btsnooz doesn't find snooplog sometimes

In the bugreport in b/27274486 comment #11, the line indicating the
beginning of BTSNOOP LOGS was slightly indented thus causing btsnooz
to not find the beginning of the log.

Bug: 27419027
Change-Id: I3b88e6a3f6f2d6c4d3cbbadb0a93cbd7965f56c8
parent 08e57f7c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ def main():

  iterator = fileinput.input()
  for line in iterator:
    if line.startswith('--- BEGIN:BTSNOOP_LOG_SUMMARY'):
    if line.find('--- BEGIN:BTSNOOP_LOG_SUMMARY') != -1:
      decode_snooz(base64.standard_b64decode(iterator.next()))
      sys.exit(0)
  sys.stderr.write('No btsnooz section found in bugreport.\n');