eshan6704 commited on
Commit
ae3c78e
·
verified ·
1 Parent(s): 915273f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def fetch_data(mode, req_type, name, date_str):
125
  elif req_type == "other":
126
  return common.wrap(stock.fetch_other(name))
127
  elif req_type == "stock_hist":
128
- return nse.nse_stock_hist(from_date, to_date, name).to_html()
129
  else:
130
  return common.wrap(f"<h3>No handler for {req_type}</h3>")
131
 
 
125
  elif req_type == "other":
126
  return common.wrap(stock.fetch_other(name))
127
  elif req_type == "stock_hist":
128
+ return nsepython.nse_stock_hist(from_date, to_date, name).to_html()
129
  else:
130
  return common.wrap(f"<h3>No handler for {req_type}</h3>")
131