Skip to content

Commit

Permalink
change default db type to sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
aorin committed Nov 13, 2024
1 parent 8f4392e commit 027260e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lintuasema-backend/lintuasemasovellus.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import requests
import urllib.parse as urlparse
from flask import (Flask, render_template,
from flask import (Flask, render_template,
request, redirect, session, url_for,
make_response, jsonify)
from application import init_app, redirect
Expand All @@ -12,7 +12,7 @@
# db_type: Jos käytetään Oraclea, anna "oracle"; muuten käytetään oletuksena SQLitea
# print_db_echo: Jos haluat tietokantatulosteet komentoriville, anna True; muuten False
#db_type = os.environ.get("oracle")
db_type = os.environ.get("DB_TYPE", "oracle")
db_type = os.environ.get("DB_TYPE", "sqlite")

print_db_echo = False

Expand Down

0 comments on commit 027260e

Please sign in to comment.