It's not type coersion it's not seeing something as a tuple

This commit is contained in:
Bradley Bickford 2023-11-24 20:11:05 -05:00
parent e7681bf7cd
commit 8cdd7d3974

View File

@ -42,7 +42,7 @@ mydb = mysql.connector.connect(
cursor = mydb.cursor()
cursor.execute("SELECT call_start_time FROM call_states WHERE call_id = %d", (int(args.callid)))
cursor.execute("SELECT call_start_time FROM call_states WHERE call_id = %d", (args.callid,))
call_start_time = cursor.fetchall()