Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
benpaddlejones committed Jan 10, 2025
1 parent 1f7c7e2 commit f9e2650
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"bierner.markdown-preview-github-styles",
"mechatroner.rainbow-csv",
"ms-python.pylint",
"donjayamanne.python-environment-manager"
"ms-python.vscode-python-envs"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"bierner.markdown-preview-github-styles",
"mechatroner.rainbow-csv",
"ms-python.pylint",
"donjayamanne.python-environment-manager"
"ms-python.vscode-python-envs"
]
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-- database: ./database.db

-- CREATE TABLE id7-tusers(id INTEGER PRIMARY KEY autoincrement,username TEXT NOT NULL UNIQUE, password TEXT NOT NULL);

-- INSERT INTO id7-tusers(username,password) VALUES ("","");
Expand Down
2 changes: 1 addition & 1 deletion userManagement.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### example
def getUsers():
con = sql.connect(".databaseFiles/database.db")
con = sql.connect("databaseFiles/database.db")
cur = con.cursor()
cur.execute("SELECT * FROM id7-tusers")
con.close()
Expand Down

0 comments on commit f9e2650

Please sign in to comment.