mirror of
https://github.com/wqj666666/tg_duxiu.git
synced 2026-12-03 08:29:50 +00:00
Update bot.py
This commit is contained in:
1 parent
c3e90d1100
commit
04d582cb17
1 file changed
+1
-1
@@ -29,7 +29,7 @@ def ss(update: Update, context: CallbackContext) -> None:
|
||||
content = '^[0-9]{8}$'
|
||||
result = re.findall(content, str(name))
|
||||
if len(result) != 0:
|
||||
sql = "SELECT * FROM FileObject WHERE name LIKE '%" + name + "%';"
|
||||
sql = "SELECT * FROM FileObject WHERE name LIKE '%" + str(name) + "%';"
|
||||
db.execute(sql)
|
||||
result = db.fetchall()
|
||||
if len(result) !=0:
|
||||
|
||||
Reference in new issue
Block a user