1
0
mirror of https://github.com/bluekitchen/btstack.git synced 2025-03-22 07:21:06 +00:00

use basename + .pklg as outname for create_packet_log tool

This commit is contained in:
Matthias Ringwald 2016-01-06 11:36:16 +01:00
parent a449c50a68
commit d398ec02f8

@ -15,6 +15,7 @@
import re
import sys
import time
import os
packet_counter = 0
last_time = None
@ -80,7 +81,7 @@ if len(sys.argv) == 1:
exit(0)
infile = sys.argv[1]
outfile = 'hci_dump.pklg'
outfile = os.path.splitext(infile)[0] + ".pklg"
if len(sys.argv) > 2:
outfile = sys.argv[2]