Skip to content

Commit

Permalink
update requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
AFreeCoder committed Nov 6, 2023
1 parent 883bcfe commit 43254ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ pyyml==0.0.2
Flask==2.1.2
numpy==1.22.4
numpy-financial==1.0.0
requests==2.31.0
requests==2.27.1
Werkzeug==2.2.2
Flask-APScheduler==1.12.3
pyecharts==1.9.1
lxml==4.9.1
Expand Down
2 changes: 2 additions & 0 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

from qtools.calculator import IRR, cf, generate_investment_data, nfv, nper, sa
from fund_company import company, scale, company_yield, work_year, awards, scale_ratio, company_filter
from cron import crontask
from qtools import index as qindex
from qtools import debt as qdebt

Expand Down Expand Up @@ -257,6 +258,7 @@ def get_debt_fed_data():
'%(asctime)s - %(pathname)s[line:%(lineno)d] - %(levelname)s: %(message)s'
#日志格式
)
crontask.start()
app.config['JSON_AS_ASCII'] = False

app.run(host="0.0.0.0", port="8000")

0 comments on commit 43254ab

Please sign in to comment.