Archived
更新判断是否存在于数据库内的判断条件
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -54,7 +54,7 @@ class SQLite:
|
||||
:return:
|
||||
"""
|
||||
status = self.fetch(name, True)
|
||||
if status == ():
|
||||
if not bool(status):
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user