This commit is contained in:
Gabriel Augendre 2020-08-17 08:52:30 +02:00
parent 1761cd42df
commit 89f29e649a
2 changed files with 4 additions and 4 deletions

4
.gitignore vendored
View file

@ -195,7 +195,7 @@ pytestdebug.log
# Django stuff:
*.log
local_settings.py
db.sqlite3
db/
db.sqlite3-journal
# Flask stuff:
@ -272,4 +272,4 @@ dmypy.json
# End of https://www.toptal.com/developers/gitignore/api/osx,pycharm,python
.idea
db/
static/

View file

@ -2,8 +2,8 @@ import sqlite3
def main():
writefreely = sqlite3.connect("writefreely.db")
db = sqlite3.connect("db.sqlite3")
writefreely = sqlite3.connect("db/writefreely.db")
db = sqlite3.connect("db/db.sqlite3")
writefreely_c = writefreely.cursor()
db_c = db.cursor()
writefreely_c.execute(