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