Skip to content

Commit 886b4cd

Browse files
committed
clean up more
1 parent 8ebb08d commit 886b4cd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

openandroidinstaller/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,15 +195,13 @@ def send_tracking_info(device_code: str, event: str):
195195
url = "https://plausible.io/api/event"
196196

197197
# Prepare the JSON payload.
198-
# Even if you’re not on a website, you can supply a fabricated URL (like "app://login")
199198
data = {
200199
"name": event,
201200
"url": "app://openandroidinstaller",
202201
"domain": "openandroidinstaller.org",
203202
"props": {"device_code": device_code},
204203
}
205204

206-
# Set headers. A proper User-Agent is important for accurate unique visitor tracking.
207205
headers = {
208206
"Content-Type": "application/json",
209207
"User-Agent": "OpenAndroidInstaller",

0 commit comments

Comments
 (0)