dont return buffer

This commit is contained in:
j 2009-08-21 17:40:42 +02:00
parent 18383a88b0
commit 827674c85d

View file

@ -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()