Skip to content

FIX: Avoid excessive etelemetry pings #3484

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

Merged
merged 1 commit into from
Jun 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion nipype/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ def check_latest_version(raise_exception=False):
from .interfaces.base import BaseInterface

if BaseInterface._etelemetry_version_data is None:
BaseInterface._etelemetry_version_data = check_latest_version()
BaseInterface._etelemetry_version_data = check_latest_version() or "n/a"
2 changes: 1 addition & 1 deletion nipype/interfaces/base/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def __init__(
from ... import check_latest_version

if BaseInterface._etelemetry_version_data is None:
BaseInterface._etelemetry_version_data = check_latest_version()
BaseInterface._etelemetry_version_data = check_latest_version() or "n/a"

if not self.input_spec:
raise Exception("No input_spec in class: %s" % self.__class__.__name__)
Expand Down