Board
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

asd

+9 -8
+9 -8
app.py
··· 144 144 if(len(message_) > 300): 145 145 return Response(json.dumps("Message is too long"), status=400, mimetype="application/json") 146 146 147 + mydb = mysql.connector.connect( 148 + host="localhost", 149 + user="willem", 150 + password="Dinkel2006!", 151 + database="shykeiichicom" 152 + ) 153 + 154 + mycursor = mydb.cursor() 155 + 147 156 if sendersessionid_ != None: 148 - mydb = mysql.connector.connect( 149 - host="localhost", 150 - user="willem", 151 - password="Dinkel2006!", 152 - database="shykeiichicom" 153 - ) 154 - 155 - mycursor = mydb.cursor() 156 157 157 158 mycursor.execute(f"SELECT * FROM sessions WHERE sessionid=\"{sendersessionid_}\"") 158 159