ЕП
Size: a a a
ЕП
<Ч
ЕП
G
S
S
G
<Ч
<Ч
S
t = (uidd, textt, 'None')
cursor.execute("INSERT INTO post_info(uid, text, img_path) VALUES (?, ?, ?);", t)
ᅠ
S
m
async def insert_local_info(uid = None, text = None, img_path = None):
con = sqlite3.connect(r'database/local_db.db')
cursor = con.cursor()
try:
cursor.execute(f"INSERT INTO post_info(uid, text, img_path) VALUES ('{uid}', '{text}', '{img_path}');")
except Exception as e:
print(e)
con.commit()
cursor.close()
con.close()
m
S
S
pl
S
ᅠ
S