From 374b374aaebf5661824339e8250b7a050cedbcdd Mon Sep 17 00:00:00 2001 From: G <52905881+giga-a@users.noreply.github.com> Date: Sat, 23 Jan 2021 14:03:16 -0800 Subject: [PATCH] Add files via upload --- app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.py b/app.py index 02e241a..56184f0 100644 --- a/app.py +++ b/app.py @@ -252,8 +252,8 @@ def find_username_normal(req): pass + PARSED_SITES[:] = [d for d in PARSED_SITES if d.get('selected') == "true"] if len(PARSED_SITES) > 0: - PARSED_SITES[:] = [d for d in PARSED_SITES if d.get('selected') == "true"] for site in PARSED_SITES: temp_profile = { "found": 0, @@ -270,7 +270,6 @@ def find_username_normal(req): temp_profile["link"] = site["url"].replace("{username}", req["body"]["string"]); temp_profile["type"] = site["type"] resutls.append(temp_profile) - return resutls @check_errors(True)