sampathlonka commited on
Commit
334eff5
1 Parent(s): 721b963

updated port

Browse files
Files changed (1) hide show
  1. database.py +1 -1
database.py CHANGED
@@ -11,7 +11,7 @@ def initialize_database():
11
  db_params = {"host": st.secrets["host"],
12
  "user": st.secrets["username"],
13
  "password": st.secrets["password"],
14
- "port": st.secrets["port"],
15
  "database": st.secrets["database"]
16
  }
17
  db = pymysql.connect(**db_params)
 
11
  db_params = {"host": st.secrets["host"],
12
  "user": st.secrets["username"],
13
  "password": st.secrets["password"],
14
+ "port": int(st.secrets["port"]),
15
  "database": st.secrets["database"]
16
  }
17
  db = pymysql.connect(**db_params)