Skip to content

Commit 0fe97c0

Browse files
committed
chore:format
1 parent eaf9825 commit 0fe97c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ingestr/src/linkedin_ads/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ def lead_form_responses(
188188
) -> Iterable[TDataItem]:
189189
fromDate = submittedAt.start_value
190190
toDate = (
191-
submittedAt.end_value if submittedAt.end_value else int(pendulum.now(tz="UTC").int_timestamp * 1000)
191+
submittedAt.end_value
192+
if submittedAt.end_value
193+
else int(pendulum.now(tz="UTC").int_timestamp * 1000)
192194
)
193195

194196
for ad_account in ad_accounts:

0 commit comments

Comments
 (0)