diff --git a/fileHost.py b/fileHost.py index b6e6ae7..47ccb1f 100755 --- a/fileHost.py +++ b/fileHost.py @@ -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" diff --git a/templates/change_password.html b/templates/change_password.html index 5a16a72..233f58d 100644 --- a/templates/change_password.html +++ b/templates/change_password.html @@ -1,6 +1,8 @@ -Change password + + Change password +

Change your password sir? diff --git a/templates/index.html b/templates/index.html index 877ed17..6f5fae2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,5 @@ - + Let's uploading boys!