Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
super622 committed Sep 27, 2023
1 parent 2a99f55 commit a886d49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
__pycache__
env
service-account.json
service-account.json
config.py
4 changes: 3 additions & 1 deletion Chating.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import pytz
import mysql.connector

import config

from googleapiclient.discovery import build # Added
from google.oauth2 import service_account

Expand Down Expand Up @@ -216,7 +218,7 @@ def result_response(value):
with mysql.connector.connect(
host='127.0.0.1',
user='root',
password='',
password=config.DB_PASS,
database='live_db'
) as cnx:
cursor = cnx.cursor()
Expand Down

0 comments on commit a886d49

Please sign in to comment.