diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-08-24 16:14:23 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-08-24 16:14:23 +0530 |
commit | 46192b0a0305437f2bb2291afb5c5682ea3a3d3b (patch) | |
tree | 4a9a5fe79989a702e9c9550d9f417fd109212ac5 /app/dock_docker.py | |
parent | ae27a5c9996f34487ee0f2669104b30dee263189 (diff) |
added check for WiFi @ Home
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" |