Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions saleae_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def validate_path( path, argument_name ):
analyzers = s.get_analyzers()
if analyzers.count == 0:
print('Warning: analyzer export path was specified, but no analyzers are present in the capture')
for analyzer in analyzers:
file_name = '{0}_{1}.csv'.format(x, analyzer[0])
for i,analyzer in enumerate(analyzers):
file_name = '{0}_{1}_{2}.csv'.format(x,i, analyzer[0])
save_path = os.path.join(args.export_analyzers, file_name)
print('exporting analyzer ' + analyzer[0] + ' to ' + save_path)
s.export_analyzer(analyzer[1], save_path)
Expand Down