Skip to content

Commit

Permalink
Fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
solidpixel committed Jan 7, 2025
1 parent 0b3795d commit 1c91d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lglpy/timeline/data/processed_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def __init__(self, raw_trace: RawTrace):
for event in raw_trace.events:
# Find the metadata record for this event if we have one
event_meta = None
if event.user_label in raw_trace.metadata:
if raw_trace.metadata and event.user_label in raw_trace.metadata:
event_meta = raw_trace.metadata[event.user_label]

# Generic event
Expand Down

0 comments on commit 1c91d5e

Please sign in to comment.