We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7cb073 commit d30edc6Copy full SHA for d30edc6
src/iterative_telemetry/__init__.py
@@ -222,7 +222,7 @@ def _find_or_create_user_id():
222
223
# only for non-DVC packages,
224
# write legacy file in case legacy DVC is installed later
225
- if not old.exists() and uid.lower() != "do-not-track":
+ if not old.exists() and uid.lower() != DO_NOT_TRACK_VALUE.lower():
226
json.dump({"user_id": uid}, old.open("w", encoding="utf8"))
227
228
return uid
0 commit comments