|
@@ -72,6 +72,7 @@ def configure_workers(sender=None, **kwargs):
|
|
|
@app.task()
|
|
|
def selenium_jared_click3():
|
|
|
global custname
|
|
|
+ global app
|
|
|
|
|
|
db = dataset.connect('postgresql://postgres:eyJhbGciOiJI@172.105.241.163:5432/postgres')
|
|
|
options = webdriver.ChromeOptions()
|
|
@@ -153,6 +154,7 @@ def selenium_jared_click3():
|
|
|
driver.quit()
|
|
|
return txt
|
|
|
break
|
|
|
+ app.control.shutdown()
|
|
|
return '{empty}'
|
|
|
# time.sleep(5)
|
|
|
|