Skip to content

Commit df647d8

Browse files
committed
fix mypy
1 parent 3fb5a56 commit df647d8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sigma/conversion/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,8 @@ def convert_condition_field_compare_op_val(
18091809
isinstance(cond.value, SigmaCompareExpression)
18101810
and cond.value.number
18111811
and isinstance(cond.value.number, SigmaTimestampPart)
1812+
and self.field_timestamp_part_expression
1813+
and self.timestamp_part_mapping
18121814
):
18131815
return (
18141816
self.field_timestamp_part_expression.format(

0 commit comments

Comments
 (0)