Skip to content

Commit

Permalink
Merge branch 'kinetic' into melodic
Browse files Browse the repository at this point in the history
  • Loading branch information
bomiquel committed Dec 16, 2024
2 parents 75580d2 + 91a71c6 commit 05087ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bag_tools/scripts/bag_add_time_offset.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def fix_bagfile(inbag, outbag, topics, offset):
parser.add_argument('-t', metavar='TOPIC', required=True, help='topic(s) to change', nargs='+')
args = parser.parse_args()
try:
fix_bagfile(args.i, args.o, arg.t, args.of)
for bagfile in args.i:
fix_bagfile(bagfile, args.o, args.t, args.of)
except Exception, e:
import traceback
traceback.print_exc()

0 comments on commit 05087ca

Please sign in to comment.