diff --git a/oxlib/cache.py b/oxlib/cache.py index 27ca67e..48ca3db 100644 --- a/oxlib/cache.py +++ b/oxlib/cache.py @@ -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()