Enabling executor call
This commit is contained in:
parent
bf9876a010
commit
7b234fc708
1 changed files with 2 additions and 2 deletions
4
myapp.py
4
myapp.py
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue