From c8fc4700732e1525741d6c4a69bd7acc5cfc77d5 Mon Sep 17 00:00:00 2001 From: s0md3v Date: Sun, 20 Mar 2022 15:06:16 +0530 Subject: [PATCH] fix index out of range error --- core/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/utils.py b/core/utils.py index c987741..512fae3 100644 --- a/core/utils.py +++ b/core/utils.py @@ -161,7 +161,7 @@ def genGen(fillings, eFillings, lFillings, eventHandlers, tags, functions, ends, def getParams(url, data, GET): params = {} - if '=' in url: + if '?' in url and '=' in url: data = url.split('?')[1] if data[:1] == '?': data = data[1:]