Abdullah6395 commited on
Commit
c2e386e
·
verified ·
1 Parent(s): 28d72d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def login():
86
  with open("products.json") as f:
87
  pro=json.load(f)
88
  f.close()
89
- return redirect(url_for("products",products=pro))
90
  else:
91
  return render_template("login.html")
92
  else:
 
86
  with open("products.json") as f:
87
  pro=json.load(f)
88
  f.close()
89
+ return render_template("products.html",products=pro)
90
  else:
91
  return render_template("login.html")
92
  else: