Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Jun 14, 2024
1 parent 832a4f7 commit 7112483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lib/logreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def get_internal_url(seg, file):
seg_number = key.strip("/").split("/")[-2]
# only check file name as file extension can vary
if int(seg_number) == seg and file in key:
return 'cd:' + key # prefix is /
return 'cd:/' + key.strip("/")

rlog_paths = [get_internal_url(seg, "rlog") for seg in sr.seg_idxs]
qlog_paths = [get_internal_url(seg, "qlog") for seg in sr.seg_idxs]
Expand Down

0 comments on commit 7112483

Please sign in to comment.