From ba4afad3688e011fd58cb465a1449b4d3487afdc Mon Sep 17 00:00:00 2001 From: "Danny Y. Huang" Date: Sat, 28 Sep 2024 09:41:07 -0400 Subject: [PATCH] the qualtrics ID will be shared with us if the user agrees to donate the network data and/or survey data --- core/data_donation.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/data_donation.py b/core/data_donation.py index b3853505..f85a01d4 100644 --- a/core/data_donation.py +++ b/core/data_donation.py @@ -40,9 +40,7 @@ def start(): if donation_option in ('donation_with_survey', 'donation_only'): donate_network_data(user_key) - - if donation_option == 'donation_with_survey': - donate_survey_data(user_key) + donate_qualtrics_id(user_key) @@ -166,7 +164,7 @@ def donate_network_data(user_key): -def donate_survey_data(user_key): +def donate_qualtrics_id(user_key): # Get the qualtrics ID qualtrics_id = config.get('qualtrics_id', '')