Hacerlo global
This commit is contained in:
1
app.py
1
app.py
@@ -174,7 +174,6 @@ app = Flask(__name__)
|
|||||||
|
|
||||||
@app.route('/calificaciones', methods=['POST'])
|
@app.route('/calificaciones', methods=['POST'])
|
||||||
def main():
|
def main():
|
||||||
driver = None
|
|
||||||
try:
|
try:
|
||||||
# Inicializa el WebDriver
|
# Inicializa el WebDriver
|
||||||
driver = webdriver.Chrome(service=service, options=chrome_options)
|
driver = webdriver.Chrome(service=service, options=chrome_options)
|
||||||
|
|||||||
Reference in New Issue
Block a user