diff options
Diffstat (limited to 'app/dock_docker.py')
-rw-r--r-- | app/dock_docker.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/dock_docker.py b/app/dock_docker.py index 78f74e1..5906520 100644 --- a/app/dock_docker.py +++ b/app/dock_docker.py @@ -1,6 +1,7 @@ import mysql.connector as con +from app import app -mycon = con.connect(host="192.168.1.6",user="curieweb",password="curie-web-russian-54",port=3306,database="curie") +mycon = con.connect(host=app.config['DB_HOST'],user="curieweb",password="curie-web-russian-54",port=3306,database="curie") mycursor = mycon.cursor() sql_select_Query = "select * from curieweb where done=0 LIMIT 1" |