Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIN-729 persist device ids. #861

Merged
merged 6 commits into from
Dec 20, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
black fix
  • Loading branch information
lionsardesai committed Dec 17, 2022
commit ce75bc2313b146ec50ffb2eb84ae91cfd2017653
2 changes: 1 addition & 1 deletion lineapy/utils/analytics/usage_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _device_id() -> str:
# numbers as well however the only case discussed when that happens is in android where it
# does not have permissions to access macids. This seems to happen in more cases as we have
# observed more device ids for the same user than we expected. To fix this, we'll persist
# an id to the .lineapy folder for future use. This might give us a bit more stability
# an id to the .lineapy folder for future use. This might give us a bit more stability

device_id = ""
with open(options.safe_get("dev_id"), "w+") as f:
Expand Down