过滤对话的html代码

This commit is contained in:
w_xiaolizu
2023-05-22 10:35:28 +08:00
parent bf6f5c433d
commit 9f871deb4d
2 changed files with 5 additions and 3 deletions

View File

@ -41,7 +41,7 @@ class SqliteHandle:
self.__connect.close()
def create_tab(self):
self.__cursor.execute(f"CREATE TABLE `{self.__table}` ('id' INTEGER PRIMARY KEY AUTOINCREMENT, 'prompt' TEXT, 'result' TEXT)")
self.__cursor.execute(f"CREATE TABLE `{self.__table}` ( 'prompt' TEXT, 'result' TEXT)")
def get_tables(self):
all_tab = []