Skip to content

Commit

Permalink
update python to 3.10 Flast to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
cl117 committed Sep 11, 2024
1 parent 53c99fd commit 1740018
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion flask/explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def handle_error(e):
return jsonify(error=str(e.name + ": " + e.description)), e.code
return jsonify(error=str(type(e).__name__) + str(e)), 500

@app.before_first_request
@app.before_request
def startup():
def auto_update_index():
update_interval = int(config_manager.load_config().get('updateTimeInDays', 0)) * 86400
Expand Down
14 changes: 7 additions & 7 deletions flask/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
certifi==2018.4.16
chardet==3.0.4
click==6.7
click==8.1.7
elasticsearch==6.3.0
elasticsearch-dsl==6.1.0
Flask==1.0.2
Flask==3.0.3
idna==2.7
ipaddress==1.0.22
itsdangerous==0.24
Jinja2
MarkupSafe==2.0.1
numpy
itsdangerous==2.2.0
Jinja2==3.1.4
MarkupSafe==2.1.5
numpy==2.1.1
python-dateutil==2.7.3
requests==2.19.1
six==1.11.0
urllib3==1.23
Werkzeug
Werkzeug==3.0.4
apscheduler==3.10.4

0 comments on commit 1740018

Please sign in to comment.