1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-21 23:24:18 +00:00

DB generation bugfix

This commit is contained in:
Steffo 2017-09-18 09:11:44 +02:00
parent edc842711f
commit 7a6af87f4a

View file

@ -796,7 +796,7 @@ def page_500(e):
if __name__ == "__main__":
# Se non esiste il database, crealo e inizializzalo!
if not os.path.isfile("data.db"):
if not os.path.isfile("db.sqlite"):
db.create_all()
try:
# L'utente predefinito è "stagista" "smecds".