aboutsummaryrefslogtreecommitdiff
path: root/app/dock_docker.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-08-24 16:14:23 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-08-24 16:14:23 +0530
commit46192b0a0305437f2bb2291afb5c5682ea3a3d3b (patch)
tree4a9a5fe79989a702e9c9550d9f417fd109212ac5 /app/dock_docker.py
parentae27a5c9996f34487ee0f2669104b30dee263189 (diff)
added check for WiFi @ Home
Diffstat (limited to 'app/dock_docker.py')
-rw-r--r--app/dock_docker.py3
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"