From cf42543e9cfca8721f6d2ce306ac7a88a877e4e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Thu, 29 Mar 2007 13:28:36 +0000
Subject: [PATCH] update method call to follow Image class changes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13790 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/Agent.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/Agent.py b/product/ERP5/Document/Agent.py
index fdfedd562f..296a7015f1 100644
--- a/product/ERP5/Document/Agent.py
+++ b/product/ERP5/Document/Agent.py
@@ -79,7 +79,7 @@ class Agent(Folder, Image):
         raise RuntimeError, 'No file or an empty file was specified'
 
     import_file.seek(0)
-    self.manage_editPhoto(file=import_file)
+    self.manage_upload(file=import_file)
     #    self._data = import_file.read()
 
     if REQUEST is not None:
-- 
2.30.9