Skip to content

Commit

Permalink
fix: Replace deprecated arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
GoGiants1 committed Oct 17, 2023
1 parent 819a0eb commit 955d04f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ def crawl_debug(**kwargs):
def crawl(event, context):
siksha_db = pymysql.connect(
user=os.environ.get("DB_USER", "siksha"),
passwd=os.environ.get("DB_PASSWORD", "waffle"),
password=os.environ.get("DB_PASSWORD", "waffle"),
host=os.environ.get("DB_HOST", "127.0.0.1"),
db=os.environ.get("DB_NAME", "siksha"),
database=os.environ.get("DB_NAME", "siksha"),
port=int(os.environ.get("DB_PORT", 7306)),
charset="utf8",
)
Expand Down

0 comments on commit 955d04f

Please sign in to comment.