Skip to content

Commit c4ba438

Browse files
committed
Lint
1 parent aa62826 commit c4ba438

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

analytics/analytics.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ def submit(
7373
timestamp=None,
7474
):
7575
product = product if product is not None else self.default_product
76-
txn = AnalyticsTxn(product or self.default_product, pennkey, timestamp or timezone.now(), data)
76+
timestamp = timestamp or timezone.now()
77+
txn = AnalyticsTxn(product or self.default_product, pennkey, timestamp, data)
7778
self.submit_transaction(txn)
7879

7980

0 commit comments

Comments
 (0)