[IMP] update the create_doc_in_edm function

This commit is contained in:
EL HADJI DEM 2014-05-27 15:39:19 -04:00 committed by Sandy Carter
parent 2efdbae037
commit 9b566cfb83

View File

@ -116,8 +116,7 @@ def create_doc_in_edm(session, model_name, value, res,
sub1 = repo.getObjectByPath(folder_path)
else:
sub1 = root
someDoc = sub1.createDocumentFromString(value['datas_fname'],
someDoc = sub1.createDocumentFromString(file_name,
contentString=base64.b64decode(
value['datas']),
contentType=value['file_type'])