Archived
修复重大bug
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -101,7 +101,7 @@ class SQLite:
|
|||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
self.__cursor.execute('select * from reqcount where name="%(name)s"' % {'name': name})
|
self.__cursor.execute('select * from reqcount where name="%(name)s"' % {'name': name})
|
||||||
data = self.__cursor.fetchall()[0]
|
data = self.__cursor.fetchone()
|
||||||
if not is_check:
|
if not is_check:
|
||||||
self.update(name, data[-1])
|
self.update(name, data[-1])
|
||||||
return data
|
return data
|
||||||
|
|||||||
Reference in New Issue
Block a user