Commit cb794233 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[bfss] fix name error

branch : stable
parent 57c4c6399b44
......@@ -87,7 +87,8 @@ class BytesFileSystemStorage(Storage):
cu = sysource.doexec(entity._cw,
'SELECT cw_%s FROM cw_%s WHERE cw_eid=%s' % (
attr, entity.__regid__, entity.eid))
return sysource._process_value(cu.fetchone()[0], [None, dbmod.BINARY],
BINARY = sysource.dbhelper.dbapi_module.BINARY
return sysource._process_value(cu.fetchone()[0], [None, BINARY],
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment