Enabling executor call

This commit is contained in:
chabisik 2022-12-21 23:39:44 +01:00
parent bf9876a010
commit 7b234fc708

View file

@ -69,8 +69,8 @@ def receiver_from_internet():
data_dict = urllib.parse.parse_qs(qs=data)
print(data_dict)
if "pwd_retriever" in data_dict and data_dict["pwd_retriever"][0]=='please':
#op = threading.Thread(target=opener, args=(lock,))
#op.start()
op = threading.Thread(target=opener, args=(lock,))
op.start()
return flask.render_template("success.html")
else:
return flask.render_template("fail.html")