From dadde690d1e00f78204b06bd1c6f820506d8bd0b Mon Sep 17 00:00:00 2001 From: Gerry Nelson Date: Tue, 24 Nov 2020 21:31:17 -0500 Subject: [PATCH] update --- updatepreferences.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/updatepreferences.py b/updatepreferences.py index 5eb4c34..0709430 100755 --- a/updatepreferences.py +++ b/updatepreferences.py @@ -82,9 +82,7 @@ if target=='all' : result=callrestapi(reqval, reqtype,data=json,stoponerror=0) print("Updating Preference "+reqval+" = "+preferenceValue) - -# Function to update preference of a specific user -if target == 'user' : +elif target == 'user' : userID=targetName