changed html format of templates a bit

This commit is contained in:
iou1name 2018-03-03 11:20:39 -05:00
parent 94de630311
commit 6beb6e20d7
3 changed files with 5 additions and 3 deletions

View File

@ -154,7 +154,7 @@ def delete_file():
try:
os.remove(os.path.join(app.config.get("UPLOAD_DIR"), filename))
db.execute("DELETE FROM uploads WHERE filename = ?", (filename,))
db.commit()
con.commit()
except FileNotFoundError:
return "Error: File not found."
return "Success"

View File

@ -1,6 +1,8 @@
<!DOCTYPE html>
<title>Change password</title>
<html>
<head>
<title>Change password</title>
</head>
<body>
<form method="post" action="{{ url_for('change_password') }}">
<p>Change your password sir?

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<title>Let's uploading boys!</title>
</head>