dont return buffer

This commit is contained in:
j 2009-08-21 17:40:42 +02:00
parent 18383a88b0
commit 827674c85d
1 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,8 @@ def _getUrlCache(url, data, headers=DEFAULT_HEADERS, timeout=-1, value="data"):
c.execute(sql, t)
for row in c:
r = row[0]
if value == 'data':
r = str(r)
break
c.close()