dont return buffer
This commit is contained in:
parent
18383a88b0
commit
827674c85d
1 changed files with 2 additions and 0 deletions
|
@ -140,6 +140,8 @@ def _getUrlCache(url, data, headers=DEFAULT_HEADERS, timeout=-1, value="data"):
|
||||||
c.execute(sql, t)
|
c.execute(sql, t)
|
||||||
for row in c:
|
for row in c:
|
||||||
r = row[0]
|
r = row[0]
|
||||||
|
if value == 'data':
|
||||||
|
r = str(r)
|
||||||
break
|
break
|
||||||
|
|
||||||
c.close()
|
c.close()
|
||||||
|
|
Loading…
Reference in a new issue