更新判断是否存在于数据库内的判断条件

This commit is contained in:
MarkusJoe
2022-03-26 08:23:33 +08:00
parent 4ba8c37a51
commit 8f03f107aa
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ class SQLite:
:return:
"""
status = self.fetch(name, True)
if status == ():
if not bool(status):
return False
else:
return True