Skip to content

Commit

Permalink
Remove dynamic search for timestamp col
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveismus committed Feb 18, 2025
1 parent 2316d74 commit 50265b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions logmerger/file_reading.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ def __init__(self, fname: str, encoding: str):
def _find_dt_col(d: dict[str, Any], previous_key: str | None)-> tuple[str, Any]:
if previous_key is not None:
value = d.get(previous_key)
if value is not None:
return previous_key, value
return previous_key, value
for key, val in d.items():
try:
tt = TimestampedLineTransformer.make_transformer_from_sample_line(str(val) + " ")
Expand Down

0 comments on commit 50265b1

Please # to comment.