From 6f80da52cb0aa47f06ac7d997dd49ea66cab8d99 Mon Sep 17 00:00:00 2001 From: Shaun Date: Tue, 5 Feb 2019 08:04:29 +1100 Subject: [PATCH] if not user ID is available and the url has a user id required then return no data --- resources/lib/downloadutils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lib/downloadutils.py b/resources/lib/downloadutils.py index 0ccbe15..07f37a1 100644 --- a/resources/lib/downloadutils.py +++ b/resources/lib/downloadutils.py @@ -569,6 +569,8 @@ class DownloadUtils(): if url.find("{userid}") != -1: userid = self.getUserId() + if not userid: + return return_data url = url.replace("{userid}", userid) if url.find("{ItemLimit}") != -1: